Vehicle::setSirenSound
Внешний вид
Activate siren sound on vehicle (Only works if the vehicle has a siren).
Syntax
<syntaxhighlight lang="javascript">vehicle.setSirenSound(toggle);</syntaxhighlight>
Required Arguments
- toggle: Boolean
Return value
- Undefined
Example
<syntaxhighlight lang="javascript"> mp.players.local.vehicle.setSirenSound(true) </syntaxhighlight> Make sure you use true for silence.