RedM Natives

IS_PED_DEAD_OR_DYING

Hash0x3317DEDB88C95038
Runtime nameIsPedDeadOrDying
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x3317DEDB88C95038

Signature

BOOL IS_PED_DEAD_OR_DYING(Ped ped, BOOL p1);

Parameters

NameTypeDescription
pedPed—
p1BOOL—

Returns BOOL

Usage

Lua
local retval = IsPedDeadOrDying(ped, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3317DEDB88C95038, ped, p1, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedDeadOrDying(ped, p1);

// by hash
const retval = Citizen.invokeNative('0x3317DEDB88C95038', ped, p1, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x3317DEDB88C95038, ped, p1);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.