distantCopCarSirens
DISTANT_COP_CAR_SIRENS0x552369F549563AD5The GTA V native DISTANT_COP_CAR_SIRENS of the AUDIO namespace, as LS:MP client scripts call it: the global function distantCopCarSirens, in JavaScript and in Lua.
distantCopCarSirens(value: boolean): voiddistantCopCarSirens(value: boolean)Usage
JavaScript
distantCopCarSirens(value);Lua
distantCopCarSirens(value)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
value | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
If value is set to true, and ambient siren sound will be played.
Appears to enable/disable an audio flag.
Reference
- Namespace
- Audio AUDIO
- In the game
void DISTANT_COP_CAR_SIRENS(BOOL value)- Hash
0x552369F549563AD5- Formerly
_FORCE_AMBIENT_SIREN