RDR3 matchUnofficial name
PED::_CHANGE_PED_STAMINA
0x3F1794613C2B48AB ·RVA 0x04BC75B0
Signature
BOOL _CHANGE_PED_STAMINA(Ped ped, float amount);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | float | amount |
– |
Returns
BOOL
the game returns one byte.
Call it
// PED::_CHANGE_PED_STAMINA
auto result = invoke<BOOL>(0x3F1794613C2B48AB, ped, amount);// PED::_CHANGE_PED_STAMINA
bool result = Function.Call<bool>((Hash)0x3F1794613C2B48AB, ped, amount);-- PED::_CHANGE_PED_STAMINA
local result = Citizen.InvokeNative(0x3F1794613C2B48AB, ped, amount)// PED::_CHANGE_PED_STAMINA
const result = Citizen.invokeNative("0x3F1794613C2B48AB", ped, amount);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.