setSirenCanBeControlledByAudio
SET_SIREN_CAN_BE_CONTROLLED_BY_AUDIO0x43FA0DFC5DF87815The 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.
setSirenCanBeControlledByAudio(vehicle: Vehicle, p1: boolean): voidsetSirenCanBeControlledByAudio(vehicle: Vehicle, p1: boolean)Usage
JavaScript
setSirenCanBeControlledByAudio(vehicle, p1);Lua
setSirenCanBeControlledByAudio(vehicle, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | BOOL | boolean | boolean |
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