setRadioToStationIndex
SET_RADIO_TO_STATION_INDEX0xA619B168B8A8570FThe GTA V native SET_RADIO_TO_STATION_INDEX of the AUDIO namespace, as LS:MP client scripts call it: the global function setRadioToStationIndex, in JavaScript and in Lua.
setRadioToStationIndex(radioStation: number): voidsetRadioToStationIndex(radioStation: integer)Usage
JavaScript
setRadioToStationIndex(radioStation);Lua
setRadioToStationIndex(radioStation)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
radioStation | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets radio station by index.
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_RADIO_TO_STATION_INDEX(int radioStation)- Hash
0xA619B168B8A8570F