AudioClient

setMobileRadioEnabledDuringGameplay

SET_MOBILE_RADIO_ENABLED_DURING_GAMEPLAY0x1098355A16064BB3

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

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

Usage

JavaScript
setMobileRadioEnabledDuringGameplay(toggle);
Lua
setMobileRadioEnabledDuringGameplay(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void SET_MOBILE_RADIO_ENABLED_DURING_GAMEPLAY(BOOL toggle)
Hash
0x1098355A16064BB3

Open in the interactive natives reference