enableDragRaceStationaryWarningSounds
_ENABLE_DRAG_RACE_STATIONARY_WARNING_SOUNDS0xBEFB80290414FD4FThe GTA V native _ENABLE_DRAG_RACE_STATIONARY_WARNING_SOUNDS of the AUDIO namespace, as LS:MP client scripts call it: the global function enableDragRaceStationaryWarningSounds, in JavaScript and in Lua.
enableDragRaceStationaryWarningSounds(vehicle: Vehicle, enable: boolean): voidenableDragRaceStationaryWarningSounds(vehicle: Vehicle, enable: 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
enableDragRaceStationaryWarningSounds(vehicle, enable);Lua
enableDragRaceStationaryWarningSounds(vehicle, enable)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
enable | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void _ENABLE_DRAG_RACE_STATIONARY_WARNING_SOUNDS(Vehicle vehicle, BOOL enable)- Hash
0xBEFB80290414FD4F- Introduced
- Game build 3095 legacy numbering