Audio::stopAlarm: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Example:<br><br>This will stop the alarm at Fort Zancudo.<br><br>AUDIO::STOP_ALARM('PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS', 1);<br><br>First parameter (char) is the name of the alarm.<br>Second parameter (bool) has to be true (1) to have any effect.<br><br>~Zerovv==Syntax==<syntaxhighlight lang="javascript">audio.stopAlarm(alarmName, toggle);</syntaxhighlight>=== Required Arguments ===*'''alarmName:''' String*'''toggle:''' Boolean===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Example:<br><br>This will stop the alarm at Fort Zancudo.<br><br>AUDIO::STOP_ALARM('PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS', 1);<br><br>First parameter (char) is the name of the alarm.<br>Second parameter (bool) has to be true (1) to have any effect.<br><br>~Zerovv
==Syntax==
<syntaxhighlight lang="javascript">audio.stopAlarm(alarmName, toggle);</syntaxhighlight>
=== Required Arguments ===
*'''alarmName:''' String
*'''toggle:''' Boolean
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
todo
</syntaxhighlight>
==See also==
{{Audio_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Revision as of 19:54, 6 May 2017

Example:

This will stop the alarm at Fort Zancudo.

AUDIO::STOP_ALARM('PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS', 1);

First parameter (char) is the name of the alarm.
Second parameter (bool) has to be true (1) to have any effect.

~Zerovv

Syntax

audio.stopAlarm(alarmName, toggle);

Required Arguments

  • alarmName: String
  • toggle: Boolean

Return value

  • Undefined

Example

todo

See also

Template:Audio function c