isNitrousActive
IS_NITROUS_ACTIVE0x491E822B2C464FE4The GTA V native IS_NITROUS_ACTIVE of the VEHICLE namespace, as LS:MP client scripts call it: the global function isNitrousActive, in JavaScript and in Lua.
isNitrousActive(vehicle: Vehicle): booleanisNitrousActive(vehicle: Vehicle): boolean⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
const result = isNitrousActive(vehicle);Lua
local result = isNitrousActive(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_NITROUS_ACTIVE(Vehicle vehicle)- Hash
0x491E822B2C464FE4- Introduced
- Game build 3095 legacy numbering