AudioClient

distantCopCarSirens

DISTANT_COP_CAR_SIRENS0x552369F549563AD5

The 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.

SignatureJavaScript
distantCopCarSirens(value: boolean): void
SignatureLua
distantCopCarSirens(value: boolean)

Usage

JavaScript
distantCopCarSirens(value);
Lua
distantCopCarSirens(value)

Parameters

ParameterTypeJavaScriptLua
valueBOOLbooleanboolean

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

Open in the interactive natives reference