Would be cool to have a real vehicle API server-side, allowing us to use it on the server side to get/set vehicle properties. Here is the status of the “vehicle API”
Vehicle API | Status |
---|---|
SetVehicleExtra | ![]() |
DoesExtraExist | ![]() |
IsVehicleExtraTurnedOn | ![]() |
SetVehicleNumberPlateText | ![]() |
GetVehicleNumberPlateText | ![]() |
SetVehicleNumberPlateTextIndex | ![]() |
GetVehicleNumberPlateTextIndex | ![]() |
SetVehicleBodyHealth | ![]() |
GetVehicleBodyHealth | ![]() |
SetVehicleEngineHealth | ![]() |
GetVehicleEngineHealth | ![]() |
SetVehiclePetrolTankHealth | ![]() |
GetVehiclePetrolTankHealth | ![]() |
SetVehicleFuelLevel | ![]() |
GetVehicleFuelLevel | ![]() |
SetVehicleOilLevel | ![]() |
GetVehicleOilLevel | ![]() |
SetVehicleDirtLevel | ![]() |
GetVehicleDirtLevel | ![]() |
SetVehicleModColor_1 | ![]() |
GetVehicleModColor_1 | ![]() |
SetVehicleModColor_2 | ![]() |
GetVehicleModColor_2 | ![]() |
ClearVehicleCustomPrimaryColour | ![]() |
GetIsVehiclePrimaryColourCustom | ![]() |
SetVehicleColours | ![]() |
GetVehicleColours | ![]() |
SetVehicleCustomPrimaryColour | ![]() |
ClearVehicleCustomSecondaryColour | ![]() |
GetIsVehicleSecondaryColourCustom | ![]() |
SetVehicleCustomSecondaryColour | ![]() |
SetVehicleExtraColours | ![]() |
GetVehicleExtraColours | ![]() |
SetVehicleInteriorColor | ![]() |
GetVehicleInteriorColour | ![]() |
SetVehicleDashboardColor | ![]() |
GetVehicleDashboardColour | ![]() |
SetVehicleWheelType | ![]() |
GetVehicleWheelType | ![]() |
SetVehicleWheelSize | ![]() |
GetVehicleWheelSize | ![]() |
SetVehicleWheelWidth | ![]() |
GetVehicleWheelWidth | ![]() |
SetVehicleWindowTint | ![]() |
GetVehicleWindowTint | ![]() |
SetVehicleNeonLightEnabled | ![]() |
IsVehicleNeonLightEnabled | ![]() |
RemoveVehicleWindow | ![]() |
IsVehicleWindowIntact | ![]() |
SetVehicleDoorBroken | ![]() |
IsVehicleDoorDamaged | ![]() |
SetVehicleTyreBurst | ![]() |
IsVehicleTyreBurst | ![]() |
SetVehicleNeonLightsColour | ![]() |
GetVehicleNeonLightsColour | ![]() |
ToggleVehicleMod | ![]() |
IsToggleModOn | ![]() |
SetVehicleTyreSmokeColor | ![]() |
GetVehicleTyreSmokeColor | ![]() |
SetVehicleMod | ![]() |
GetVehicleMod | ![]() |
GetVehicleModVariation | ![]() |
SetVehicleXenonLightsColor | ![]() |
GetVehicleXenonLightsColor | ![]() |
SetVehicleLivery | ![]() |
GetVehicleLivery | ![]() |
SetVehicleRoofLivery | ![]() |
GetVehicleRoofLivery | ![]() |
SetVehicleTyresCanBurst | ![]() |
GetVehicleTyresCanBurst | ![]() |
SetDriftTyresEnabled | ![]() |
SetVehicleFixed | ![]() |