Audio::isAlarmPlaying: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Example:<br><br>bool playing = AUDIO::IS_ALARM_PLAYING('PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS');<br><br>~Zerovv==Syntax==<syntaxhighlight lang="javascript">audio.isAlarmPlaying(alarmName);</syntaxhighlight>=== Required Arguments ===*'''alarmName:''' String===Return value===*'''Boolean'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Audio_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Example:<br><br>bool playing = AUDIO::IS_ALARM_PLAYING('PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS');<br><br>~Zerovv
==Syntax==
<syntaxhighlight lang="javascript">mp.game.audio.isAlarmPlaying(alarmName);</syntaxhighlight>
=== Required Arguments ===
*'''alarmName:''' String
===Return value===
*'''Boolean'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Audio_s_function_c}}
[[Category:Clientside API]]
[[Category:Audio API]]
[[Category:TODO: Example]]

Latest revision as of 21:06, 11 May 2017

Example:

bool playing = AUDIO::IS_ALARM_PLAYING('PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS');

~Zerovv

Syntax

mp.game.audio.isAlarmPlaying(alarmName);

Required Arguments

  • alarmName: String

Return value

  • Boolean

Example

// todo

See also