Audio::setAggressiveHorns: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Makes pedestrians sound their horn longer, faster and more agressive when they use their horn.
Makes pedestrians sound their horn longer, faster and more agressive when they use their horn.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.setAggressiveHorns(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.setAggressiveHorns(toggle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''toggle:''' Boolean
*'''toggle:''' Boolean
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Audio_function_c}}
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:04, 6 May 2017

Makes pedestrians sound their horn longer, faster and more agressive when they use their horn.

Syntax

mp.game.audio.setAggressiveHorns(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also