_SET_EVENT_TRACKER_FOR_PED
Registers an event tracker named eventName on the ped so later events can be queried.
Signature
void _SET_EVENT_TRACKER_FOR_PED(Ped ped, const char* eventName, int p2); // 0xBB1E41DD3D3C6250 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | eventName | const char* |
| 3 | p2 | int |
Facts
| Name | _SET_EVENT_TRACKER_FOR_PED |
|---|---|
| Hash | 0xBB1E41DD3D3C6250 |
| 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(0xBB1E41DD3D3C6250, -- _SET_EVENT_TRACKER_FOR_PED
PlayerPedId(), -- Ped ped
"text", -- const char* eventName
0 -- int p2
)Citizen.invokeNative("0xBB1E41DD3D3C6250", // _SET_EVENT_TRACKER_FOR_PED
PlayerPedId(), // Ped ped
"text", // const char* eventName
0 // int p2
);Function.Call((Hash)0xBB1E41DD3D3C6250, // _SET_EVENT_TRACKER_FOR_PED
API.PlayerPedId(), // Ped ped
"text", // const char* eventName
0 // int 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
- _IS_EVENT_TRACKER_ACTIVE
- ADD_SHOCKING_EVENT_FOR_ENTITY
- _ADD_MODEL_TO_EVENT_MONITOR
- _CREATE_SHOCKING_EVENT
- ADD_SHOCKING_EVENT_AT_POSITION
- 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.