_GET_PED_DAMAGE_CLEANLINESS
PED_DAMAGE_CLEANLINESS_POOR, PED_DAMAGE_CLEANLINESS_GOOD, PED_DAMAGE_CLEANLINESS_PERFECT
Hash
0x88EFFED5FE8B0B4ARuntime name
GetPedDamageCleanlinessNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_PED_DAMAGE_CLEANLINESS(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns int
Description
enum ePedDamageCleanliness
{
PED_DAMAGE_CLEANLINESS_POOR,
PED_DAMAGE_CLEANLINESS_GOOD,
PED_DAMAGE_CLEANLINESS_PERFECT
};Usage
local retval = GetPedDamageCleanliness(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x88EFFED5FE8B0B4A, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedDamageCleanliness(ped);
// by hash
const retval = Citizen.invokeNative('0x88EFFED5FE8B0B4A', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x88EFFED5FE8B0B4A, 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.