RedM Natives

_GET_PED_DAMAGED

Returns true if _GET_PED_DAMAGE_CLEANLINESS was ever lower than 2

Hash0x6CFC373008A1EDAF
Runtime nameGetPedDamaged
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_PED_DAMAGED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

Returns true if _GET_PED_DAMAGE_CLEANLINESS was ever lower than 2

Usage

Lua
local retval = GetPedDamaged(ped)

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

// by hash
const retval = Citizen.invokeNative('0x6CFC373008A1EDAF', ped, Citizen.returnResultAnyway());
C#
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 InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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