AudioClient

isMusicOneshotPlaying

IS_MUSIC_ONESHOT_PLAYING0xA097AB275061FB21

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

SignatureJavaScript
isMusicOneshotPlaying(): boolean
SignatureLua
isMusicOneshotPlaying(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_MUSIC_ONESHOT_PLAYING()
Hash
0xA097AB275061FB21

Open in the interactive natives reference