_SET_BOW_STAMINA_DRAIN_SPEED
Sets the rate at which holding a drawn bow drains the stamina of player.
Signature
void _SET_BOW_STAMINA_DRAIN_SPEED(Player player, float staminaDrain); // 0xFE7C9CF376D23342 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | staminaDrain | float |
Facts
| Name | _SET_BOW_STAMINA_DRAIN_SPEED |
|---|---|
| Hash | 0xFE7C9CF376D23342 |
| 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(0xFE7C9CF376D23342, -- _SET_BOW_STAMINA_DRAIN_SPEED
PlayerId(), -- Player player
0.0 -- float staminaDrain
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xFE7C9CF376D23342", // _SET_BOW_STAMINA_DRAIN_SPEED
PlayerId(), // Player player
0.0 // float staminaDrain
);Function.Call((Hash)0xFE7C9CF376D23342, // _SET_BOW_STAMINA_DRAIN_SPEED
API.PlayerId(), // Player player
0.0f // float staminaDrain
);Related PLAYER natives
- _SET_BOW_DRAW_REDUCTION_TIME_IN_DEADEYE
- _SET_PLAYER_STAMINA_SPRINT_DEPLETION_MULTIPLIER
- _SET_WEAPON_DRAW_SPEED
- _EAGLE_EYE_SET_DRAIN_RATE_MODIFIER
- SET_PLAYER_STAMINA_RECHARGE_MULTIPLIER
- _SET_BOUNTY_TARGET
- _SET_AI_PLAYER_DEFENSE_MODIFIER_AGAINST_AI
- _SET_DAMAGE_CLOSE_DISTANCE_BONUS
- _SET_DAMAGE_CLOSE_DISTANCE_BONUS_TOTAL
- _SET_DAMAGE_FAR_DISTANCE_BONUS
- _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL
- _SET_DEADEYE_ABILITY_DEPLETION_DELAY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.