_GET_PED_STAMINA
Hash
0x775A1CA7893AA8B5Runtime name
GetPedStaminaNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_PED_STAMINA(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns float
Usage
local retval = GetPedStamina(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x775A1CA7893AA8B5, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPedStamina(ped);
// by hash
const retval = Citizen.invokeNative('0x775A1CA7893AA8B5', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x775A1CA7893AA8B5, 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
_CHANGE_PED_STAMINAAlters entity's stamina by 'amount'._RESET_PED_STAMINA_RESTORE_PED_STAMINA0.0 <= stamina <= 100.0
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.