Audio::stopAlarm

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

mp.game.audio.stopAlarm(alarmName, toggle);

Required Arguments

  • alarmName: String
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Audio s function c