setEmitterRadioStation
SET_EMITTER_RADIO_STATION0xACF57305B12AF907The GTA V native SET_EMITTER_RADIO_STATION of the AUDIO namespace, as LS:MP client scripts call it: the global function setEmitterRadioStation, in JavaScript and in Lua.
setEmitterRadioStation(
emitterName: string,
radioStation: string,
p2: any
): voidsetEmitterRadioStation(emitterName: string, radioStation: string, p2: any)Usage
JavaScript
setEmitterRadioStation(emitterName, radioStation, p2);Lua
setEmitterRadioStation(emitterName, radioStation, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
emitterName | string | string | string |
radioStation | string | string | string |
p2 | Any | any | any |
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.
Full list of static emitters by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/staticEmitters.json
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_EMITTER_RADIO_STATION(const char* emitterName, const char* radioStation, Any p2)- Hash
0xACF57305B12AF907