Difference between revisions of "041E"
Jump to navigation
Jump to search
(updating page) |
m |
||
Line 1: | Line 1: | ||
− | {{ | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = SET_RADIO_CHANNEL | |
− | + | | description = Sets the current radio station | |
− | + | | syntax1 = {{Icon|3}} {{Icon|VC}} 041E: set_radio_station [''int1''] [''int2''] | |
− | + | | syntax2 = {{Icon|SA}} 041E: set_radio_station [''int1''] | |
− | + | | p1t = [''int1''] | |
− | + | | p1d = Radio station index | |
− | + | | p2t = [''int2''] | |
− | + | | p2d = -1 = not start from beginning of station file, {{hint|0|or any value other than -1}} = 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 (VC)|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. | 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 (VC)|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 == | == Keywords == | ||
set, play, radio, station, channel | set, play, radio, station, channel | ||
− | |||
− |
Revision as of 23:14, 4 December 2016
- Description
- Sets the current radio station
- Syntax
- 041E: set_radio_station [int1] [int2]
- 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