VehicleClientNot in this build

setNitrousIsActive

SET_NITROUS_IS_ACTIVE0x9E566EA551F4F1A6

The GTA V native SET_NITROUS_IS_ACTIVE of the VEHICLE namespace, as LS:MP client scripts call it: the global function setNitrousIsActive, in JavaScript and in Lua.

SignatureJavaScript
setNitrousIsActive(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setNitrousIsActive(vehicle: Vehicle, toggle: 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
setNitrousIsActive(vehicle, toggle);
Lua
setNitrousIsActive(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_NITROUS_IS_ACTIVE(Vehicle vehicle, BOOL toggle)
Hash
0x9E566EA551F4F1A6
Introduced
Game build 3407 legacy numbering

Open in the interactive natives reference