_SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL
Sets the damage bonus player gets at long range.
Signature
void _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL(Player player, float farDamageBonus); // 0x1F0E3A4434565F8F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | farDamageBonus | float |
Facts
| Name | _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL |
|---|---|
| Hash | 0x1F0E3A4434565F8F |
| 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(0x1F0E3A4434565F8F, -- _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL
PlayerId(), -- Player player
0.0 -- float farDamageBonus
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x1F0E3A4434565F8F", // _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL
PlayerId(), // Player player
0.0 // float farDamageBonus
);Function.Call((Hash)0x1F0E3A4434565F8F, // _SET_DAMAGE_FAR_DISTANCE_BONUS_TOTAL
API.PlayerId(), // Player player
0.0f // float farDamageBonus
);Related PLAYER natives
- _SET_DAMAGE_FAR_DISTANCE_BONUS
- _SET_DAMAGE_CLOSE_DISTANCE_BONUS_TOTAL
- _SET_DAMAGE_CLOSE_DISTANCE_BONUS
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
- _SET_PLAYER_LASSO_DAMAGE_PER_SECOND
- _SET_PLAYER_TOTAL_ACCURACY_MODIFIER
- _SET_PLAYER_TRAMPLE_DAMAGE_MODIFIER
- _SET_PLAYER_WEAPON_GROUP_DAMAGE_MODIFIER
- _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
- _EAGLE_EYE_SET_CUSTOM_DISTANCE
- SET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.