Audio::stopAlarm

From RAGE Multiplayer Wiki
Revision as of 19:46, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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