PREPARE_MUSIC_EVENT
Hash
0x1E5185B72EF5158ARuntime name
PrepareMusicEventNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1E5185B72EF5158ASignature
BOOL PREPARE_MUSIC_EVENT(const char* eventName);Parameters
| Name | Type | Description |
|---|---|---|
eventName | const char* | — |
Returns BOOL
Usage
local retval = PrepareMusicEvent(eventName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1E5185B72EF5158A, eventName, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = PrepareMusicEvent(eventName);
// by hash
const retval = Citizen.invokeNative('0x1E5185B72EF5158A', eventName, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x1E5185B72EF5158A, eventName);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.