* GetVehicleModelByName(name[]); * IsValidVehicleModel(modelid); * VehicleExist(vehicleid); --> checks if a vehicle exists
* GetPlayerVehicleModel(playerid); * GetVehicleSpeed(vehicleid); * GetVehiclePlayers(vehicleid, player1, player2, player3, player4); --> DOES NOT RECOGNIZE PLAYERS IN SEATS HIGHER THAN ID 3 ----- 0.5.1 - GetVehicleSpeed fixed
* Float:GetVehicleRot(vehicleid); - FreezeVehicle updated
* StopVehicle(vehicleid); * FreezeVehicle(vehicleid, freezstate); --> 1 = freezed & 0 = unfreezed * ToggleVehicleParams(vehicleid, params[], pstate) --> T_ENGINE, T_LIGHTS, T_ALARM, T_TRUNK, T_BONNET, T_OBJECTIVE
* ToggleVehicleTrunk(vehicleid, trunkstate); --> 0 = closed & 1 = open * ToggleVehicleBonnet(vehicleid, bonnetstate); --> 0 = closed & 1 = open * ToggleVehicleAlarm(vehicleid, alarmstate); --> 0 = off & 1 = on * ToggleVehicleObjective(vehicleid, objectivestate); --> 0 = off & 1 = on
* RespawnVehicle(vehicleid) * SetVehicleColor(vehicleid, color1, color2); * SetVehicleModel(vehicleid, newmodel); --> Does only work for vehicles created with "CreateVehicle" * SetVehicleInterior(vehicleid, interiorid); * FlipVehicle(vehicleid); * SetVehicleRandomNumberPlate(vehicleid); * ExplodeVehicle(vehicleid); * ToggleVehicleEngine(vehicleid, enginestate); --> 0 = off & 1 = on * ToggleVehicleLight(vehicleid, lightstate); --> 0 = off & 1 = on * TeleportVehicle(vehicleid, Float:XCoord, Float:YCoord, Float:ZCoord, Float:Angle, Interiorid); * TeleportVehicleToPlayer(vehicleid, playerid); * Float:GetPlayerDistanceToVehicle(playerid, vehicleid); * GetPlayerNearestVehicle(playerid); * PutPlayerInNearestVehicle(playerid, seatid); --> same seatIDs as for PutPlayerInVehicle
thanks for the suggestion, added those function and uploaded version 0.2
|
thanks for the suggestion, added those function and uploaded version 0.2
|
God damn it Thanks for FreezeVehicle() !!!!
I tested it but it seem it has a problem with the timer, it freezes the vehicle less then a second then unfreeze (normal), then again freeze less then a second and unfreeze again ? You know what i mean |