AudioClient

setSirenCanBeControlledByAudio

SET_SIREN_CAN_BE_CONTROLLED_BY_AUDIO0x43FA0DFC5DF87815

The GTA V native SET_SIREN_CAN_BE_CONTROLLED_BY_AUDIO of the AUDIO namespace, as LS:MP client scripts call it: the global function setSirenCanBeControlledByAudio, in JavaScript and in Lua.

SignatureJavaScript
setSirenCanBeControlledByAudio(vehicle: Vehicle, p1: boolean): void
SignatureLua
setSirenCanBeControlledByAudio(vehicle: Vehicle, p1: boolean)

Usage

JavaScript
setSirenCanBeControlledByAudio(vehicle, p1);
Lua
setSirenCanBeControlledByAudio(vehicle, p1)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void SET_SIREN_CAN_BE_CONTROLLED_BY_AUDIO(Vehicle vehicle, BOOL p1)
Hash
0x43FA0DFC5DF87815

Open in the interactive natives reference