Перейти к содержанию

Vehicle::setSirenSound

Материал из RAGE MP Wiki Archive

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.