_GET_PED_STAMINA_NORMALIZED
Returns stamina normalizedValue / normalizedUnlockedMax
Hash
0x22F2A386D43048A9Runtime name
GetPedStaminaNormalizedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_PED_STAMINA_NORMALIZED(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns float
Description
Returns stamina normalizedValue / normalizedUnlockedMax
Usage
local retval = GetPedStaminaNormalized(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x22F2A386D43048A9, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPedStaminaNormalized(ped);
// by hash
const retval = Citizen.invokeNative('0x22F2A386D43048A9', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x22F2A386D43048A9, 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.