hintMissionAudioBank
HINT_MISSION_AUDIO_BANK0x40763EA7B9B783E7The GTA V native HINT_MISSION_AUDIO_BANK of the AUDIO namespace, as LS:MP client scripts call it: the global function hintMissionAudioBank, in JavaScript and in Lua.
hintMissionAudioBank(audioBank: string, p1: boolean, p2: any): booleanhintMissionAudioBank(audioBank: string, p1: boolean, p2: any): booleanUsage
JavaScript
const result = hintMissionAudioBank(audioBank, p1, p2);Lua
local result = hintMissionAudioBank(audioBank, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
audioBank | string | string | string |
p1 | BOOL | boolean | boolean |
p2 | Any | any | any |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p2 is always -1
Reference
- Namespace
- Audio AUDIO
- In the game
BOOL HINT_MISSION_AUDIO_BANK(const char* audioBank, BOOL p1, Any p2)- Hash
0x40763EA7B9B783E7- Introduced
- Game build 573 legacy numbering