AudioClient

getPlayerRadioStationName

GET_PLAYER_RADIO_STATION_NAME0xF6D733C32076AD03

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

SignatureJavaScript
getPlayerRadioStationName(): string
SignatureLua
getPlayerRadioStationName(): string

Usage

JavaScript
const text = getPlayerRadioStationName();
Lua
local text = getPlayerRadioStationName()

Parameters

None.

Returns

string JavaScript string, Lua string

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns active radio station name

Reference

Namespace
Audio AUDIO
In the game
const char* GET_PLAYER_RADIO_STATION_NAME()
Hash
0xF6D733C32076AD03

Open in the interactive natives reference