The Lab
PLAYER native

_SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER

returns void2 paramsbuild 1207

Sets a modifier on damage player receives while on horseback.

Signature

C
void _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER(Player player, float damageDecrease); // 0xB427911EA6DFFEF3 b1207

Parameters

#NameType
1playerPlayer
2damageDecreasefloat

Facts

Facts about _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
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.

Lua
Citizen.InvokeNative(0xB427911EA6DFFEF3, -- _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
  PlayerId(), -- Player player
  0.0 -- float damageDecrease
)
JavaScript
// 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
);
C#
Function.Call((Hash)0xB427911EA6DFFEF3, // _SET_RECEIVED_DAMAGE_TAKEN_ON_HORSEBACK_MODIFIER
  API.PlayerId(), // Player player
  0.0f // float damageDecrease
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.