AudioClient

isGameInControlOfMusic

IS_GAME_IN_CONTROL_OF_MUSIC0x6D28DC1671E334FD

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

SignatureJavaScript
isGameInControlOfMusic(): boolean
SignatureLua
isGameInControlOfMusic(): boolean

Usage

JavaScript
const result = isGameInControlOfMusic();
Lua
local result = isGameInControlOfMusic()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Hardcoded to return 1

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_GAME_IN_CONTROL_OF_MUSIC()
Hash
0x6D28DC1671E334FD

Open in the interactive natives reference