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