Native referenceRedM

CANCEL_MUSIC_EVENT

0x5B17A90291133DA5 AUDIO
FUNCTION SIGNATURE
BOOL CANCEL_MUSIC_EVENT(char* eventName);
Property Value
Native Name CANCEL_MUSIC_EVENT
Hash 0x5B17A90291133DA5
Return Type BOOL
Build 1207
Parameters eventName (char*)

Description: ``` All music event names found in the b617d scripts: pastebin.com/GnYt0R3P


### Parameters
- **`eventName`** (`char*`) — the name of the event to cancel

### Usage

**Lua (Direct):**
```lua
local result = CancelMusicEvent(eventName)

Lua (Hash):

local result = Citizen.InvokeNative(0x5B17A90291133DA5, eventName)
Back to AUDIO