setNitrousIsVisible
_SET_NITROUS_IS_VISIBLE0x465EEA70AF251045The 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.
setNitrousIsVisible(vehicle: Vehicle, enabled: boolean): voidsetNitrousIsVisible(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
enabled | BOOL | boolean | boolean |
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