GET_PED_SCALE
Signature
float GET_PED_SCALE(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The target ped |
Returns float — Returns scale of ped set by [SET_PED_SCALE](#\_0x25ACFC650B65C538)
Usage
local retval = GetPedScale(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xa0f3b420, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPedScale(ped);
// by hash
const retval = Citizen.invokeNative('0xa0f3b420', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xa0f3b420, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.