stopSound
STOP_SOUND0xA3B0C41BA5CC0BB5The 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.
stopSound(soundId: number): voidstopSound(soundId: integer)Usage
JavaScript
stopSound(soundId);Lua
stopSound(soundId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
soundId | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void STOP_SOUND(int soundId)- Hash
0xA3B0C41BA5CC0BB5