_SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
Sets a modifier on damage player receives while on horseback.
Signature
void _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER(Player player, float damageDecrease); // 0xB427911EA6DFFEF3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | damageDecrease | float |
Facts
| Name | _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER |
|---|---|
| Hash | 0xB427911EA6DFFEF3 |
| 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(0xB427911EA6DFFEF3, -- _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
PlayerId(), -- Player player
0.0 -- float damageDecrease
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xB427911EA6DFFEF3", // _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
PlayerId(), // Player player
0.0 // float damageDecrease
);Function.Call((Hash)0xB427911EA6DFFEF3, // _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
API.PlayerId(), // Player player
0.0f // float damageDecrease
);Related PLAYER natives
- _SET_PLAYER_EXPLOSIVE_WEAPON_DAMAGE_MODIFIER
- _SET_PLAYER_TRAMPLE_DAMAGE_MODIFIER
- _SET_PLAYER_WEAPON_GROUP_DAMAGE_MODIFIER
- SET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER
- SET_PLAYER_WEAPON_DAMAGE_MODIFIER
- SET_PLAYER_WEAPON_TYPE_DAMAGE_MODIFIER
- _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_PLAYER_DAMAGE_INFO_OVERRIDE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.