0AAD

From GTAMods Wiki
Revision as of 05:54, 26 January 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

San Andreas (with CLEO)


Description
Sets a loaded MP3's action
Syntax
0AAD: set_mp3 [mp3 handle] perform_action [int]
Parameter
[mp3 handle]
The handle of the MP3
[int]
Action (see below)

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

Action Numbers:

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

Keywords

load, mp3, audio, sound

Notes

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