Difference between revisions of "TRIGGER MUSIC EVENT"

From GTAMods Wiki
Jump to navigation Jump to search
(please use wiki markup)
Line 5: Line 5:
 
}}
 
}}
  
Stop the music using http://www.gtamodding.com/index.php?title=CANCEL_MUSIC_EVENT
+
Stop the music using [[CANCEL_MUSIC_EVENT]]
<h2>Some examples from</h2>
 
<ul>
 
<li>agency_heist1.txt</li>
 
</ul>
 
  
<h4> Orginally listed by ricci07/TheVideoVolcano</h4>
+
==Examples==
<h2>Please continue listing here</h2>
+
* AH1_RESTART
<ul>
+
* AH1_FAIL
<li>"AH1_RESTART"</li>
+
* AH1_BACK_IN_CAR
<li>"AH1_FAIL"</li>
+
* AH1_STOP
<li>"AH1_BACK_IN_CAR"</li>
+
* AH1_START
<li>"AH1_STOP"</li>
+
Taken from ''agency_heist1.txt''
<li>"AH1_START"</li>
 
</ul>
 

Revision as of 09:10, 30 April 2015

TRIGGER_MUSIC_EVENT
Number of parameters: 1
Parameter #TypeDescription
1.StringMusic file to play, e.g "AH1_RESTART"
Return value:
TypeDescription
None

Stop the music using CANCEL_MUSIC_EVENT

Examples

  • AH1_RESTART
  • AH1_FAIL
  • AH1_BACK_IN_CAR
  • AH1_STOP
  • AH1_START

Taken from agency_heist1.txt