_IS_PERSISTENT_CHARACTER_DEAD
Returns true if the persistent character persChar is dead.
Signature
BOOL _IS_PERSISTENT_CHARACTER_DEAD(PersChar persChar); // 0xEB98B38CA60742D7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | persChar | PersChar |
Facts
| 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.
local result = Citizen.InvokeNative(0xEB98B38CA60742D7, -- _IS_PERSISTENT_CHARACTER_DEAD
0 -- PersChar persChar
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xEB98B38CA60742D7", // _IS_PERSISTENT_CHARACTER_DEAD
0, // PersChar persChar
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xEB98B38CA60742D7, // _IS_PERSISTENT_CHARACTER_DEAD
0 // PersChar persChar
);Related PERSCHAR natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.