Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AC1

Opcode Database

0AC1

DescriptionLoads an audio stream with support for 3D positioning and returns the handle for further control over it.

The audio file path corresponds to CLEO 4 string convention.

Note: If you are going to play a sound in the background, it is better to use the 0AAC - so you do not loose the multichannel sound.
Parameters (v2)1) File path (Long String) (STRING)
2) (Returned) CLEO audiostream handle (Integer) (INT)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0AC1=2,load_3d_audio_stream %1d% store_to %2d%
Example0AC1: load_3d_audio_stream "sample.mp3" store_to 0@
Command NameLOAD_3D_AUDIO_STREAM

<< 0AC0

0AC2 >>