VehicleClientNot in this build

setNitrousIsVisible

_SET_NITROUS_IS_VISIBLE0x465EEA70AF251045

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

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
enabledBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void _SET_NITROUS_IS_VISIBLE(Vehicle vehicle, BOOL enabled)
Hash
0x465EEA70AF251045
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference