RESTORE_PLAYER_STAMINA
Restores the stamina of player by the given amount.
Signature
void RESTORE_PLAYER_STAMINA(Player player, float p1); // 0xC41F4B6E23FE6A4A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | p1 | float |
Facts
| Name | RESTORE_PLAYER_STAMINA |
|---|---|
| Hash | 0xC41F4B6E23FE6A4A |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xC41F4B6E23FE6A4A, -- RESTORE_PLAYER_STAMINA
PlayerId(), -- Player player
0.0 -- float p1
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC41F4B6E23FE6A4A", // RESTORE_PLAYER_STAMINA
PlayerId(), // Player player
0.0 // float p1
);Function.Call((Hash)0xC41F4B6E23FE6A4A, // RESTORE_PLAYER_STAMINA
API.PlayerId(), // Player player
0.0f // float p1
);Related PLAYER natives
- _GET_PLAYER_STAMINA
- _GET_PLAYER_STAMINA_DEPLETION_MULTIPLIER
- _GET_PLAYER_STAMINA_RECHARGE_MULTIPLIER
- _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER
- SET_PLAYER_STAMINA_RECHARGE_MULTIPLIER
- RESET_PLAYER_ARREST_STATE
- RESET_PLAYER_INPUT_GAIT
- REPORT_POLICE_SPOTTED_PLAYER
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET_AT_COORDS
- _ADD_PLAYER_AS_FOLLOW_TARGET
- _CLEAR_PED_EAGLE_EYE_TRAILS_FOR_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.