The Lab
PED native

_GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED

returns BOOL3 paramsbuild 1207

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

C
BOOL _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED(Ped ped, int memoryType, int ms); // 0xC3995D396F1D97B6 b1207

Parameters

#NameType
1pedPed
2memoryTypeint
3msint

Facts

Facts about _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
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.

Lua
local result = Citizen.InvokeNative(0xC3995D396F1D97B6, -- _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
  PlayerPedId(), -- Ped ped
  0, -- int memoryType
  0 -- int ms
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xC3995D396F1D97B6", // _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
  PlayerPedId(), // Ped ped
  0, // int memoryType
  0, // int ms
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xC3995D396F1D97B6, // _GET_PED_HAS_SIMPLE_PLAYER_MEMORY_CHANGED
  API.PlayerPedId(), // Ped ped
  0, // int memoryType
  0 // int ms
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.