AudioClient

audioIsScriptedMusicPlaying

AUDIO_IS_SCRIPTED_MUSIC_PLAYING0x2DD39BF3E2F9C47F

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

SignatureJavaScript
audioIsScriptedMusicPlaying(): boolean
SignatureLua
audioIsScriptedMusicPlaying(): boolean

Usage

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

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.

This is an alias of audioIsMusicPlaying.

Reference

Namespace
Audio AUDIO
In the game
BOOL AUDIO_IS_SCRIPTED_MUSIC_PLAYING()
Hash
0x2DD39BF3E2F9C47F
Introduced
Game build 463 legacy numbering
Formerly
_AUDIO_IS_SCRIPTED_MUSIC_PLAYING_2

Open in the interactive natives reference