Client
Exports - Clientside
GetVehicleFuel
Parameters
vehicle - number
- A vehicle handle
Returns
fuelLevel - number
- Vehicles fuel level
SetVehicleFuel
Parameters
vehicle - number
- A vehicle handle
fuelLevel - number
- Vehicles new fuel level
GetVehicleFuelType
Parameters
vehicle - number
- A vehicle handle
Returns
fuelType - string
- Vehicles fuel type
GetVehicleMaxFuel
Parameters
vehicle - number
- A vehicle handle
Returns
maxFuel - number
- Vehicles max fuel level
SetVehicleMaxFuel
Parameters
vehicle - number
- A vehicle handle
maxFuel - number
- Vehicles new max fuel level
SetEngineRepaired
Repaires the Engine if the player refilled with the wrong fuel type
Parameters
vehicle - number
- A vehicle handle
Last updated