REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE
Hash
0x118873DD538490B4Runtime name
RemoveAllShockingEventsOfTypeNamespaceEVENT
SideClient
NameOfficial
Docs
Since build1207
Signature
void REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE(Hash eventType, BOOL scriptCreatedOnly);Parameters
| Name | Type | Description |
|---|---|---|
eventType | Hash | — |
scriptCreatedOnly | BOOL | — |
Returns void
Description
eventType: https://alloc8or.re/rdr3/doc/enums/eEventType.txt
Usage
RemoveAllShockingEventsOfType(eventType, scriptCreatedOnly)
-- always works, by hash
Citizen.InvokeNative(0x118873DD538490B4, eventType, scriptCreatedOnly)JavaScript and C#
RemoveAllShockingEventsOfType(eventType, scriptCreatedOnly);
// by hash
Citizen.invokeNative('0x118873DD538490B4', eventType, scriptCreatedOnly);Function.Call((Hash)0x118873DD538490B4, eventType, scriptCreatedOnly);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Enums and flags
- eEventType 492 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.