_IS_PERSISTENT_CHARACTER_DEAD
Hash
0xEB98B38CA60742D7Runtime name
IsPersistentCharacterDeadNamespacePERSCHAR
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_PERSISTENT_CHARACTER_DEAD(PersChar persChar);Parameters
| Name | Type | Description |
|---|---|---|
persChar | PersChar | — |
Returns BOOL
Usage
local retval = IsPersistentCharacterDead(persChar)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEB98B38CA60742D7, persChar, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPersistentCharacterDead(persChar);
// by hash
const retval = Citizen.invokeNative('0xEB98B38CA60742D7', persChar, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xEB98B38CA60742D7, persChar);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.