AudioClient

stopSound

STOP_SOUND0xA3B0C41BA5CC0BB5

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

SignatureJavaScript
stopSound(soundId: number): void
SignatureLua
stopSound(soundId: integer)

Usage

JavaScript
stopSound(soundId);
Lua
stopSound(soundId)

Parameters

ParameterTypeJavaScriptLua
soundIdintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Audio AUDIO
In the game
void STOP_SOUND(int soundId)
Hash
0xA3B0C41BA5CC0BB5

Open in the interactive natives reference