AudioClient

setVehRadioStation

SET_VEH_RADIO_STATION0x1B9C0099CB942AC6

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

SignatureJavaScript
setVehRadioStation(vehicle: Vehicle, radioStation: string): void
SignatureLua
setVehRadioStation(vehicle: Vehicle, radioStation: string)

Usage

JavaScript
setVehRadioStation(vehicle, radioStation);
Lua
setVehRadioStation(vehicle, radioStation)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
radioStationstringstringstring

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.

List of radio stations that are in the wheel, in clockwise order, as of LS Tuners DLC: https://git.io/J8a3k

Reference

Namespace
Audio AUDIO
In the game
void SET_VEH_RADIO_STATION(Vehicle vehicle, const char* radioStation)
Hash
0x1B9C0099CB942AC6

Open in the interactive natives reference