RedM Natives

REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE

Hash0x118873DD538490B4
Runtime nameRemoveAllShockingEventsOfType
NamespaceEVENT
SideClient
NameOfficial
Docs
Since build1207

Signature

void REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE(Hash eventType, BOOL scriptCreatedOnly);

Parameters

NameTypeDescription
eventTypeHash—
scriptCreatedOnlyBOOL—

Returns void

Description

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

Usage

Lua
RemoveAllShockingEventsOfType(eventType, scriptCreatedOnly)

-- always works, by hash
Citizen.InvokeNative(0x118873DD538490B4, eventType, scriptCreatedOnly)
JavaScript and C#
JavaScript
RemoveAllShockingEventsOfType(eventType, scriptCreatedOnly);

// by hash
Citizen.invokeNative('0x118873DD538490B4', eventType, scriptCreatedOnly);
C#
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`.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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