AudioClient

getNumUnlockedRadioStations

GET_NUM_UNLOCKED_RADIO_STATIONS0xF1620ECB50E01DE7

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

SignatureJavaScript
getNumUnlockedRadioStations(): number
SignatureLua
getNumUnlockedRadioStations(): integer

Usage

JavaScript
const result = getNumUnlockedRadioStations();
Lua
local result = getNumUnlockedRadioStations()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Audio AUDIO
In the game
int GET_NUM_UNLOCKED_RADIO_STATIONS()
Hash
0xF1620ECB50E01DE7
Formerly
_MAX_RADIO_STATION_INDEX

Open in the interactive natives reference