Vehicle::disableImpactExplosionActivation: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
if set to true, prevents vehicle sirens from having sound, leaving only the lights.<br><br>HASH COLLISION !!! Please change to _SET_VEHICLE_SIREN_SOUND
if set to true, prevents vehicle sirens from having sound, leaving only the lights.<br><br>HASH COLLISION !!! Please change to _SET_VEHICLE_SIREN_SOUND
In update function name was changed to:
<syntaxhighlight lang="javascript">vehicle.setSirenSound(toggle);</syntaxhighlight>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">vehicle.disableImpactExplosionActivation(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">vehicle.disableImpactExplosionActivation(toggle);</syntaxhighlight>
Line 11: Line 14:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Vehicle_function_c}}
{{Vehicle_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 11:29, 9 May 2024

if set to true, prevents vehicle sirens from having sound, leaving only the lights.

HASH COLLISION !!! Please change to _SET_VEHICLE_SIREN_SOUND

In update function name was changed to:

vehicle.setSirenSound(toggle);

Syntax

vehicle.disableImpactExplosionActivation(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also