AudioClient

setRadioToStationName

SET_RADIO_TO_STATION_NAME0xC69EDA28699D5107

The 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.

SignatureJavaScript
setRadioToStationName(stationName: string): void
SignatureLua
setRadioToStationName(stationName: string)

Usage

JavaScript
setRadioToStationName(stationName);
Lua
setRadioToStationName(stationName)

Parameters

ParameterTypeJavaScriptLua
stationNamestringstringstring

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

Open in the interactive natives reference