RedM Natives

CANCEL_EVENT

Cancels the currently executing event.

Hash0xFA29D35D
Runtime nameCancelEvent
NamespaceCFX
SideClient + server
NameOfficial
Docs

Signature

void CANCEL_EVENT();

Returns void

Description

Cfx.re native reference

Cancels the currently executing event.

Usage

Lua
CancelEvent()

-- always works, by hash
Citizen.InvokeNative(0xfa29d35d)
JavaScript and C#
JavaScript
CancelEvent();

// by hash
Citizen.invokeNative('0xfa29d35d');
C#
Function.Call((Hash)0xfa29d35d);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.