AudioClient

getPlayerRadioStationGenre

GET_PLAYER_RADIO_STATION_GENRE0xA571991A7FE6CCEB

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

SignatureJavaScript
getPlayerRadioStationGenre(): number
SignatureLua
getPlayerRadioStationGenre(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Audio AUDIO
In the game
int GET_PLAYER_RADIO_STATION_GENRE()
Hash
0xA571991A7FE6CCEB

Open in the interactive natives reference