- Documentation
- Shared functions
- isVehicleNitroActivated
Function
isVehicleNitroActivated
Returns whether nitro was switched on with setVehicleNitroActivated.
Syntax
bool isVehicleNitroActivated(vehicle vehicle)Arguments
vehiclevehicle- The vehicle.
Returns
The stored value.
Example
local vehicle = createVehicle(411, 2000, -1690, 13.5)
outputDebugString(tostring(isVehicleNitroActivated(vehicle)))
Notes
Client. In a client script it reads the game.