_GET_PED_DAMAGED
Returns true if _GET_PED_DAMAGE_CLEANLINESS was ever lower than 2
Hash
0x6CFC373008A1EDAFRuntime name
GetPedDamagedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_PED_DAMAGED(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
Returns true if _GET_PED_DAMAGE_CLEANLINESS was ever lower than 2
Usage
local retval = GetPedDamaged(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6CFC373008A1EDAF, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPedDamaged(ped);
// by hash
const retval = Citizen.invokeNative('0x6CFC373008A1EDAF', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x6CFC373008A1EDAF, ped);- 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.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.