REMOVE_SHOCKING_EVENT
Removes the shocking event identified by its handle and returns true if it existed.
Signature
BOOL REMOVE_SHOCKING_EVENT(ScrHandle event); // 0xE8BB3CC253A34559 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | event | ScrHandle |
Facts
| Name | REMOVE_SHOCKING_EVENT |
|---|---|
| Hash | 0xE8BB3CC253A34559 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xE8BB3CC253A34559, -- REMOVE_SHOCKING_EVENT
0 -- ScrHandle event
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE8BB3CC253A34559", // REMOVE_SHOCKING_EVENT
0, // ScrHandle event
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE8BB3CC253A34559, // REMOVE_SHOCKING_EVENT
0 // ScrHandle event
);Related EVENT natives
- REMOVE_SHOCKING_EVENT_SPAWN_BLOCKING_AREAS
- REMOVE_ALL_SHOCKING_EVENTS
- REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE
- _CREATE_SHOCKING_EVENT
- _EVENT_FLUSH_ALL_EVENT_TRACKERS
- _EVENT_GET_RECENT_EVENT
- _EVENT_GET_SOURCE_ENTITY_FROM_EVENT
- _EVENT_GET_TARGET_ENTITY_FROM_EVENT
- _EVENT_GET_TIME_SINCE_EVENT
- _REMOVE_ALL_SHOCKING_EVENTS_IN_AREA
- _REMOVE_ALL_SHOCKING_EVENTS_OF_TYPE_IN_AREA
- ADD_SHOCKING_EVENT_AT_POSITION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.