_GET_PED_QUALITY
Returns Ped Quality to be used to calculate Skinning Quality PQ_LOW, PQ_MEDIUM, PQ_HIGH, PQ_MAX
Hash
0x7BCC6087D130312ARuntime name
GetPedQualityNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_PED_QUALITY(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
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
local retval = GetPedQuality(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x7BCC6087D130312A, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedQuality(ped);
// by hash
const retval = Citizen.invokeNative('0x7BCC6087D130312A', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.