AudioClient

setInitialPlayerStation

SET_INITIAL_PLAYER_STATION0x88795F13FACDA88D

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

SignatureJavaScript
setInitialPlayerStation(radioStation: string): void
SignatureLua
setInitialPlayerStation(radioStation: string)

Usage

JavaScript
setInitialPlayerStation(radioStation);
Lua
setInitialPlayerStation(radioStation)

Parameters

ParameterTypeJavaScriptLua
radioStationstringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void SET_INITIAL_PLAYER_STATION(const char* radioStation)
Hash
0x88795F13FACDA88D

Open in the interactive natives reference