RedM Natives

SET_EVENT_FLAG_FOR_DELETION

Hash0x4768D5252EAEB76F
Runtime nameSetEventFlagForDeletion
NamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_EVENT_FLAG_FOR_DELETION(int eventGroup, int eventIndex, BOOL p2);

Parameters

NameTypeDescription
eventGroupint—
eventIndexint—
p2BOOL—

Returns void

Usage

Lua
SetEventFlagForDeletion(eventGroup, eventIndex, p2)

-- always works, by hash
Citizen.InvokeNative(0x4768D5252EAEB76F, eventGroup, eventIndex, p2)
JavaScript and C#
JavaScript
SetEventFlagForDeletion(eventGroup, eventIndex, p2);

// by hash
Citizen.invokeNative('0x4768D5252EAEB76F', eventGroup, eventIndex, p2);
C#
Function.Call((Hash)0x4768D5252EAEB76F, eventGroup, eventIndex, p2);

Sources

alloc8or RDR3 NativeDB

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