_GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
Based on its name and signature, here is our best reading:
Appears to return true if the simple player memory of type memoryType on ped changed within ms milliseconds.
Signature
BOOL _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED(Ped ped, int memoryType, int ms); // 0xC3995D396F1D97B6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | memoryType | int |
| 3 | ms | int |
Facts
| Name | _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED |
|---|---|
| Hash | 0xC3995D396F1D97B6 |
| 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(0xC3995D396F1D97B6, -- _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
PlayerPedId(), -- Ped ped
0, -- int memoryType
0 -- int ms
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC3995D396F1D97B6", // _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
PlayerPedId(), // Ped ped
0, // int memoryType
0, // int ms
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC3995D396F1D97B6, // _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
API.PlayerPedId(), // Ped ped
0, // int memoryType
0 // int ms
);Related PED natives
- _GET_PED_HAS_INTERACTED_WITH_PLAYER
- _GET_PED_WHO_HOGITIED_THIS_PED
- _PED_SET_SIMPLE_PLAYER_MEMORY
- _GET_PLAYER_PED_WATER_DEPTH
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_HEARING_RANGE
- _GET_PED_HEIGHT
- _GET_PED_ATTITUDE
- _GET_PED_BLACKBOARD_BOOL
- _GET_PED_BLACKBOARD_FLOAT
- _GET_PED_BLACKBOARD_HASH
- _GET_PED_BRAWLING_STYLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.