AudioClient

stopSynchronizedAudioEvent

STOP_SYNCHRONIZED_AUDIO_EVENT0x92D6A88E64A94430

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

SignatureJavaScript
stopSynchronizedAudioEvent(sceneID: number): boolean
SignatureLua
stopSynchronizedAudioEvent(sceneID: integer): boolean

Usage

JavaScript
const result = stopSynchronizedAudioEvent(sceneID);
Lua
local result = stopSynchronizedAudioEvent(sceneID)

Parameters

ParameterTypeJavaScriptLua
sceneIDintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Audio AUDIO
In the game
BOOL STOP_SYNCHRONIZED_AUDIO_EVENT(int sceneID)
Hash
0x92D6A88E64A94430

Open in the interactive natives reference