AudioClient

setUserRadioControlEnabled

SET_USER_RADIO_CONTROL_ENABLED0x19F21E63AE6EAE4E

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

SignatureJavaScript
setUserRadioControlEnabled(toggle: boolean): void
SignatureLua
setUserRadioControlEnabled(toggle: boolean)

Usage

JavaScript
setUserRadioControlEnabled(toggle);
Lua
setUserRadioControlEnabled(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void SET_USER_RADIO_CONTROL_ENABLED(BOOL toggle)
Hash
0x19F21E63AE6EAE4E

Open in the interactive natives reference