RedM Natives

IS_PED_FATALLY_INJURED

Gets a value indicating whether this ped's health is below its fatally injured threshold.

Hash0xD839450756ED5A80
Runtime nameIsPedFatallyInjured
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD839450756ED5A80

Signature

BOOL IS_PED_FATALLY_INJURED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

Gets a value indicating whether this ped's health is below its fatally injured threshold. The default threshold is 100.
If the handle is invalid, the function returns true.

Usage

Lua
local retval = IsPedFatallyInjured(ped)

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

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

Sources

alloc8or RDR3 NativeDB

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