0AAD

From GTAMods Wiki
Revision as of 21:17, 5 April 2009 by Seemann (talk | contribs) (example is too short to be useful)
Jump to navigation Jump to search

{{{games}}}


Description
Sets a loaded MP3's action
Syntax
{{{syntax1}}}
Parameter

This opcode sets a loaded MP3's action. Play, Stop, Pause and Resume are currently supported. It is used in conjunction with opcodes 0AAB and 0AAC

Sanny Builder example:

0AAD: set_mp3 $hMP3 perform_action 1

Action Numbers:

0: Stop
1: Play
2: Pause
3: Resume

Keywords

load, mp3

Notes

The MP3 opcodes have been known to cause crashes on some occasions. Take care when using these opcodes.