The Lab
PERSCHAR native

_IS_PERSISTENT_CHARACTER_DEAD

returns BOOL1 parambuild 1207

Returns true if the persistent character persChar is dead.

Signature

C
BOOL _IS_PERSISTENT_CHARACTER_DEAD(PersChar persChar); // 0xEB98B38CA60742D7 b1207

Parameters

#NameType
1persCharPersChar

Facts

Facts about _IS_PERSISTENT_CHARACTER_DEAD
Name
_IS_PERSISTENT_CHARACTER_DEAD
Hash
0xEB98B38CA60742D7
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(0xEB98B38CA60742D7, -- _IS_PERSISTENT_CHARACTER_DEAD
  0 -- PersChar persChar
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xEB98B38CA60742D7", // _IS_PERSISTENT_CHARACTER_DEAD
  0, // PersChar persChar
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xEB98B38CA60742D7, // _IS_PERSISTENT_CHARACTER_DEAD
  0 // PersChar persChar
);
All PERSCHAR natives

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