# EVENT::REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE

- **Hash:** `0x118873DD538490B4`
- **Namespace:** EVENT
- **Runtime name (Lua/JS):** `RemoveAllShockingEventsOfType`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/EVENT/REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE

## Signature

```c
void REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE(Hash eventType, BOOL scriptCreatedOnly);
```

## Parameters

- `eventType` (`Hash`)
- `scriptCreatedOnly` (`BOOL`)

## Returns

`void`

## Description

eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt

## Usage

### Lua

```lua
RemoveAllShockingEventsOfType(eventType, scriptCreatedOnly)

-- always available, by hash
Citizen.InvokeNative(0x118873DD538490B4, eventType, scriptCreatedOnly)
```

### JavaScript

```js
RemoveAllShockingEventsOfType(eventType, scriptCreatedOnly);

// by hash
Citizen.invokeNative('0x118873DD538490B4', eventType, scriptCreatedOnly);
```

### C#

```csharp
Function.Call((Hash)0x118873DD538490B4, eventType, scriptCreatedOnly);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

## Related enums

- [eEventType](https://natives.borderlinerp.com/enums/eEventType.md) — 492 values

*Sources: alloc8or RDR3 NativeDB.*
