TRIGGER_MUSIC_EVENT
Hash
0x706D57B0F50DA710Runtime name
TriggerMusicEventNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x706D57B0F50DA710Signature
BOOL TRIGGER_MUSIC_EVENT(const char* eventName);Parameters
| Name | Type | Description |
|---|---|---|
eventName | const char* | — |
Returns BOOL
Description
https://github.com/femga/rdr3_discoveries/blob/master/audio/music_events/music_events.lua
Usage
local retval = TriggerMusicEvent(eventName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x706D57B0F50DA710, eventName, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = TriggerMusicEvent(eventName);
// by hash
const retval = Citizen.invokeNative('0x706D57B0F50DA710', eventName, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x706D57B0F50DA710, eventName);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.