AudioClient

lockRadioStationTrackList

LOCK_RADIO_STATION_TRACK_LIST0xFF5E5EA2DCEEACF3

The GTA V native LOCK_RADIO_STATION_TRACK_LIST of the AUDIO namespace, as LS:MP client scripts call it: the global function lockRadioStationTrackList, in JavaScript and in Lua.

SignatureJavaScript
lockRadioStationTrackList(radioStation: string, trackListName: string): void
SignatureLua
lockRadioStationTrackList(radioStation: string, trackListName: string)

Usage

JavaScript
lockRadioStationTrackList(radioStation, trackListName);
Lua
lockRadioStationTrackList(radioStation, trackListName)

Parameters

ParameterTypeJavaScriptLua
radioStationstringstringstring
trackListNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void LOCK_RADIO_STATION_TRACK_LIST(const char* radioStation, const char* trackListName)
Hash
0xFF5E5EA2DCEEACF3
Introduced
Game build 2372 legacy numbering
Formerly
_LOCK_RADIO_STATION_TRACK_LIST

Open in the interactive natives reference