[C#] [Help] How to play music?
-
Hi everyone.
I found some sound files in Open IV:
Some files contains music (for example, ht_port_survey_docks.awc) , and I want to play it. Is there any way to play it? I will glad to receive some example code.Thanks in advance.
-
TRIGGER_MUSIC_EVENT
EG:
Function.Call(Hash.TRIGGER_MUSIC_EVENT, "JH1_START"); will play a song from one of Jewel Store heist setups, to get the audio names you either look in the scripts or in the metadata nametable filesYou can play another event after previous one which can change the intensity of the song, commonly named VEHICLE_CHASE, ACTION, SUSPENSE, STOP, AIRBORNE, SILENT, every START starts the song
-
@HeySlickThatsMe Thank you, it's working!)
Also, is there any way to send SMS (with icon, from who, etc)?
EDIT: FoundSolved.