The Lab
PED native

_CHANGE_PED_STAMINA

returns BOOL2 paramsbuild 1207

Adds amount to the stamina of ped (negative values drain it), returning true on success.

Signature

C
BOOL _CHANGE_PED_STAMINA(Ped ped, float amount); // 0xC3D4B754C0E86B9E b1207

Parameters

#NameType
1pedPed
2amountfloat

Facts

Facts about _CHANGE_PED_STAMINA
Name
_CHANGE_PED_STAMINA
Hash
0xC3D4B754C0E86B9E
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xC3D4B754C0E86B9E, -- _CHANGE_PED_STAMINA
  PlayerPedId(), -- Ped ped
  0.0 -- float amount
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xC3D4B754C0E86B9E", // _CHANGE_PED_STAMINA
  PlayerPedId(), // Ped ped
  0.0, // float amount
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xC3D4B754C0E86B9E, // _CHANGE_PED_STAMINA
  API.PlayerPedId(), // Ped ped
  0.0f // float amount
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.