ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isVehicleNitroActivated

Function

isVehicleNitroActivated

Server and clientVehiclesIdentical to MTA:SA

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.

See also