Audio::playMissionCompleteAudio: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  Called 38 times in the scripts. There are 5 different audioNames used. <br> One unknown removed below. <br><br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('DEAD');<br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('FRANKLIN_BIG_01');<br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('GENERIC_FAILED');<br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('TREVOR_SMALL_01');
  Called 38 times in the scripts. There are 5 different audioNames used. <br> One unknown removed below. <br><br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('DEAD');<br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('FRANKLIN_BIG_01');<br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('GENERIC_FAILED');<br> AUDIO::PLAY_MISSION_COMPLETE_AUDIO('TREVOR_SMALL_01');
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">audio.playMissionCompleteAudio(audioName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.audio.playMissionCompleteAudio(audioName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''audioName:''' String
*'''audioName:''' String
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

Called 38 times in the scripts. There are 5 different audioNames used. 
One unknown removed below.

AUDIO::PLAY_MISSION_COMPLETE_AUDIO('DEAD');
AUDIO::PLAY_MISSION_COMPLETE_AUDIO('FRANKLIN_BIG_01');
AUDIO::PLAY_MISSION_COMPLETE_AUDIO('GENERIC_FAILED');
AUDIO::PLAY_MISSION_COMPLETE_AUDIO('TREVOR_SMALL_01');

Syntax

mp.game.audio.playMissionCompleteAudio(audioName);

Required Arguments

  • audioName: String

Return value

  • Undefined

Example

// todo

See also