setRadioToStationName
SET_RADIO_TO_STATION_NAME0xC69EDA28699D5107The GTA V native SET_RADIO_TO_STATION_NAME of the AUDIO namespace, as LS:MP client scripts call it: the global function setRadioToStationName, in JavaScript and in Lua.
setRadioToStationName(stationName: string): voidsetRadioToStationName(stationName: string)Usage
JavaScript
setRadioToStationName(stationName);Lua
setRadioToStationName(stationName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
stationName | string | string | string |
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.
List of radio stations that are in the wheel, in clockwise order, as of LS Tuners DLC: https://git.io/J8a3k
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_RADIO_TO_STATION_NAME(const char* stationName)- Hash
0xC69EDA28699D5107