041E

From GTAMods Wiki
Revision as of 23:14, 4 December 2016 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

GTA III Vice City San Andreas SET_RADIO_CHANNEL


Description
Sets the current radio station
Syntax
GTA III Vice City 041E: set_radio_station [int1] [int2]
San Andreas 041E: set_radio_station [int1]
Parameter
[int1]
Radio station index
[int2]
-1 = not start from beginning of station file, 0 = start from beginning

This opcode sets the current radio station to be played while in a vehicle that supports the station. In Vice City, the station index follows closely with the list of radio stations except index 9. If index 9 is used, the station sets itself to 10, preventing the MP3 station from being played with this opcode.

Keywords

set, play, radio, station, channel