AudioClient

unlockRadioStationTrackList

UNLOCK_RADIO_STATION_TRACK_LIST0x031ACB6ABA18C729

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
radioStationstringstringstring
trackListNamestringstringstring

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.

unlockRadioStationTrackList("RADIO_16_SILVERLAKE", "MIRRORPARK_LOCKED");

Reference

Namespace
Audio AUDIO
In the game
void UNLOCK_RADIO_STATION_TRACK_LIST(const char* radioStation, const char* trackListName)
Hash
0x031ACB6ABA18C729

Open in the interactive natives reference