RedM Natives

GET_PED_SCALE

Hash0xA0F3B420
Runtime nameGetPedScale
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

float GET_PED_SCALE(Ped ped);

Parameters

NameTypeDescription
pedPed

The target ped

Returns float — Returns scale of ped set by [SET_PED_SCALE](#\_0x25ACFC650B65C538)

Usage

Lua
local retval = GetPedScale(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0xa0f3b420, ped, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetPedScale(ped);

// by hash
const retval = Citizen.invokeNative('0xa0f3b420', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0xa0f3b420, ped);

Sources

Cfx.re native reference

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