057D

From GTAMods Wiki
Revision as of 18:53, 15 November 2009 by Spaceeinstein (talk | contribs) (created article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Plays an audio file
Syntax
{{{syntax1}}}
Parameter

The main purpose of this opcode is to play the bridge status audio. Values 0 (bclosed.mp3) and 1 (bopen.mp3) are used in the game. The audio will play once the player is in a vehicle. The radio station will abruptly stop and will play the audio. Once the audio is playing, radio stations cannot be switched. When the audio ends, the radio station will fade back in. The audio will play in any vehicles, even when the radio is turned off (Caddy) or if the vehicle doesn't have changeable radio stations (police vehicles). The audio can only be heard once so when the player exits the vehicle while the audio is playing and reenters it, the vehicle will play its normal radio station.

List of audio IDs

This opcode can actually play any audio file in the Audio folder, not just the bridge closing audio.

ID File name
0 bclosed.mp3
1 bopen.mp3
2 ass_1.mp3
3 ass_2.mp3
4 bank_1.mp3
5 bank_2a.mp3
6 bank_2b.mp3
7 bank_3a.mp3
8 bank_3b.mp3
9 bank_4.mp3
10 bike_1.mp3
11 bike_2.mp3
12 bike_3.mp3
13 bud_1.mp3
14 bud_2.mp3
15 bud_3.mp3
16 cap_1.mp3
17 car_1.mp3
18 cnt_1a.mp3
19 cnt_1b.mp3
20 cnt_2.mp3
21 cok_1.mp3
22 cok_2a.mp3
23 cok_2b.mp3
24 cok_3.mp3
25 cok_4a.mp3
26 cok_4a2.mp3