findRadioStationIndex
FIND_RADIO_STATION_INDEX0x8D67489793FF428BThe GTA V native FIND_RADIO_STATION_INDEX of the AUDIO namespace, as LS:MP client scripts call it: the global function findRadioStationIndex, in JavaScript and in Lua.
findRadioStationIndex(stationNameHash: Hash): numberfindRadioStationIndex(stationNameHash: Hash): integerUsage
JavaScript
const result = findRadioStationIndex(stationNameHash);Lua
local result = findRadioStationIndex(stationNameHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
stationNameHash | Hash | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Audio AUDIO
- In the game
int FIND_RADIO_STATION_INDEX(Hash stationNameHash)- Hash
0x8D67489793FF428B