playDeferredSoundFrontend
PLAY_DEFERRED_SOUND_FRONTEND0xCADA5A0D0702381EThe GTA V native PLAY_DEFERRED_SOUND_FRONTEND of the AUDIO namespace, as LS:MP client scripts call it: the global function playDeferredSoundFrontend, in JavaScript and in Lua.
playDeferredSoundFrontend(soundName: string, soundsetName: string): voidplayDeferredSoundFrontend(soundName: string, soundsetName: string)Usage
JavaScript
playDeferredSoundFrontend(soundName, soundsetName);Lua
playDeferredSoundFrontend(soundName, soundsetName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
soundName | string | string | string |
soundsetName | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Only call found in the b617d scripts:
playDeferredSoundFrontend("BACK", "HUD_FREEMODE_SOUNDSET");Full list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json
Reference
- Namespace
- Audio AUDIO
- In the game
void PLAY_DEFERRED_SOUND_FRONTEND(const char* soundName, const char* soundsetName)- Hash
0xCADA5A0D0702381E