_ADD_MODEL_TO_EVENT_MONITOR
Based on its name and signature, here is our best reading:
Appears to register a model hash with the game's event monitoring system. The boolean parameters are not documented.
Signature
void _ADD_MODEL_TO_EVENT_MONITOR(Hash model, BOOL p1, BOOL p2); // 0x608AD36A644A97FE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | model | Hash |
| 2 | p1 | BOOL |
| 3 | p2 | BOOL |
Facts
| Name | _ADD_MODEL_TO_EVENT_MONITOR |
|---|---|
| Hash | 0x608AD36A644A97FE |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x608AD36A644A97FE, -- _ADD_MODEL_TO_EVENT_MONITOR
GetHashKey("a_c_horse_arabian_white"), -- Hash model
false, -- BOOL p1
false -- BOOL p2
)Citizen.invokeNative("0x608AD36A644A97FE", // _ADD_MODEL_TO_EVENT_MONITOR
GetHashKey("a_c_horse_arabian_white"), // Hash model
false, // BOOL p1
false // BOOL p2
);Function.Call((Hash)0x608AD36A644A97FE, // _ADD_MODEL_TO_EVENT_MONITOR
(uint)API.GetHashKey("a_c_horse_arabian_white"), // Hash model
false, // BOOL p1
false // BOOL p2
);Related EVENT natives
- _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
- ADD_SHOCKING_EVENT_AT_POSITION
- ADD_SHOCKING_EVENT_FOR_ENTITY
- _CREATE_SHOCKING_EVENT
- _IS_EVENT_TRACKER_ACTIVE
- _SET_EVENT_TRACKER_FOR_PED
- IS_SHOCKING_EVENT_IN_SPHERE
- REMOVE_SHOCKING_EVENT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.