GraphicsClient

setTvAudioFrontend

SET_TV_AUDIO_FRONTEND0x113D2C5DC57E1774

The GTA V native SET_TV_AUDIO_FRONTEND of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setTvAudioFrontend, in JavaScript and in Lua.

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

Usage

JavaScript
setTvAudioFrontend(toggle);
Lua
setTvAudioFrontend(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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.

Probably changes tvs from being a 3d audio to being "global" audio

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_TV_AUDIO_FRONTEND(BOOL toggle)
Hash
0x113D2C5DC57E1774

Open in the interactive natives reference