Skip to content

event ​

38 native definitions. Call through natives.event or natives.EVENT.
FunctionReturnsParametersNative hash
_0x18E93EBFC1FCFA48Anyvolume: Volume, p1: BOOL, p2: BOOL
_0x1A5C5D350068A673voidped: Ped, p1: int
_0x1D1B448D719415ABAnyped: Ped
_0x26054EB81AC0893BBOOLobject: Object
_0x2DD42FAD06E6F19EAnyobject: Object, p1: BOOL, p2: BOOL
_0x36D0F2BA2C0D9BDEAnyentity: Entity, p1: int
_0x4465C3D1475BD3FDvoidmodel: Hash
_0x4B2B1A891D437CA7voidp0: float
_0x56B3410626A473E7voidp0: Any
_0x797B3D4D92E56094BOOLeventName: const char*, eventType: Hash
_0x7C511E91738A0828voidped1: Ped, ped2: Ped, p2: int, p3: Hash
_0x83D43F0FD5276E4DAnyentity: Entity, p1: int
_0x9520175B35E2268Dvoidped: Ped, p1: BOOL
_0xA86B0EE9B39D15D6voidobject: Object
_0xAD17A18215DD23D6intentity: Entity, p1: int, p2: int
_0xB6F4825153920582void—
_0xE28D7FC9FD32ABEBvoidentity: Entity, eventType: Hash, p2: int
_0xE2C2FBB7825FFC66void—
_add_model_to_event_monitorvoidmodel: Hash, p1: BOOL, p2: BOOL
_create_shocking_eventScrHandleargs: Any*
_event_flush_all_event_trackersvoidped: Ped
_event_get_recent_eventHashentity: Entity, p1: int, p2: int
_event_get_source_entity_from_eventEntityentity: Entity, eventType: Hash, p2: int, p3: int
_event_get_target_entity_from_eventEntityentity: Entity, eventType: Hash, p2: int, p3: int
_event_get_time_since_eventintentity: Entity, eventType: Hash, p2: int, p3: int
_remove_all_shocking_events_in_areavoidx: float, y: float, z: float, radius: float, p4: BOOL
_remove_all_shocking_events_of_type_in_areavoideventType: Hash, x: float, y: float, z: float, radius: float, p5: BOOL
_set_event_tracker_for_pedvoidped: Ped, eventName: const char*, p2: int
add_shocking_event_at_positionScrHandleeventType: Hash, x: float, y: float, z: float, p4: float, p5: float, p6: float, p7: float, p8: float, p9: int, p10: int
add_shocking_event_for_entityScrHandleeventType: Hash, entity: Entity, p2: float, p3: float, p4: float, p5: float, p6: float, p7: float, p8: BOOL, p9: BOOL, p10: int, p11: int
is_shocking_event_in_sphereBOOLeventType: Hash, x: float, y: float, z: float, radius: float
remove_all_shocking_eventsvoidp0: BOOL
remove_all_shocking_events_of_typevoideventType: Hash, p1: BOOL
remove_shocking_eventBOOLevent: ScrHandle
remove_shocking_event_spawn_blocking_areasvoid—
set_decision_makervoidped: Ped, name: Hash
set_decision_maker_to_defaultvoidped: Ped
suppress_shocking_events_next_framevoid—

Generated declarations; individual native behaviour may be undocumented. See argument and result mapping before calling a native.