IS_PED_INJURED
Gets a value indicating whether this ped's health is below its injured threshold.
Hash
0x84A2DD9AC37C35C1Runtime name
IsPedInjuredNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x84A2DD9AC37C35C1Signature
BOOL IS_PED_INJURED(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
Gets a value indicating whether this ped's health is below its injured threshold.
The default threshold is 100.
Usage
local retval = IsPedInjured(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x84A2DD9AC37C35C1, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedInjured(ped);
// by hash
const retval = Citizen.invokeNative('0x84A2DD9AC37C35C1', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x84A2DD9AC37C35C1, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.