RedM Natives

_GET_PED_QUALITY

Returns Ped Quality to be used to calculate Skinning Quality PQ_LOW, PQ_MEDIUM, PQ_HIGH, PQ_MAX

Hash0x7BCC6087D130312A
Runtime nameGetPedQuality
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _GET_PED_QUALITY(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Description

Returns Ped Quality to be used to calculate Skinning Quality

enum ePedQuality
{
	PQ_INVALID = -1,
	PQ_LOW,
	PQ_MEDIUM,
	PQ_HIGH,
	PQ_MAX
};

Usage

Lua
local retval = GetPedQuality(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x7BCC6087D130312A, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedQuality(ped);

// by hash
const retval = Citizen.invokeNative('0x7BCC6087D130312A', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x7BCC6087D130312A, 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.