_SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER
Sets how fast sprinting drains the stamina of player.
Signature
void _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER(Player player, float multiplier); // 0xBBADFB5E5E5766FB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | multiplier | float |
Facts
| Name | _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER |
|---|---|
| Hash | 0xBBADFB5E5E5766FB |
| 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(0xBBADFB5E5E5766FB, -- _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER
PlayerId(), -- Player player
0.0 -- float multiplier
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xBBADFB5E5E5766FB", // _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER
PlayerId(), // Player player
0.0 // float multiplier
);Function.Call((Hash)0xBBADFB5E5E5766FB, // _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER
API.PlayerId(), // Player player
0.0f // float multiplier
);Related PLAYER natives
- _GET_PLAYER_STAMINA_DEPLETION_MULTIPLIER
- SET_PLAYER_STAMINA_RECHARGE_MULTIPLIER
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_CAN_MERCY_KILL
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_DEAD_EYE_AURA_BY_HASH
- _SET_PLAYER_DEFENSE_MODIFIER
- _SET_PLAYER_DEFENSE_TYPE_MODIFIER
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.