# SCRIPT::SET_EVENT_FLAG_FOR_DELETION

- **Hash:** `0x4768D5252EAEB76F`
- **Namespace:** SCRIPT
- **Runtime name (Lua/JS):** `SetEventFlagForDeletion`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/SCRIPT/SET_EVENT_FLAG_FOR_DELETION

## Signature

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

## Parameters

- `eventGroup` (`int`)
- `eventIndex` (`int`)
- `p2` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetEventFlagForDeletion(eventGroup, eventIndex, p2)

-- always available, by hash
Citizen.InvokeNative(0x4768D5252EAEB76F, eventGroup, eventIndex, p2)
```

### JavaScript

```js
SetEventFlagForDeletion(eventGroup, eventIndex, p2);

// by hash
Citizen.invokeNative('0x4768D5252EAEB76F', eventGroup, eventIndex, p2);
```

### C#

```csharp
Function.Call((Hash)0x4768D5252EAEB76F, eventGroup, eventIndex, p2);
```

*Sources: alloc8or RDR3 NativeDB.*
