The Lab
PED native

_SET_PED_HEADSHOT_DAMAGE_MULTIPLIER

returns void2 paramsbuild 1207

Scales the damage ped takes from headshots.

Signature

C
void _SET_PED_HEADSHOT_DAMAGE_MULTIPLIER(Ped ped, float multiplier); // 0x2BA918C823B8BA56 b1207

Parameters

#NameType
1pedPed
2multiplierfloat

Facts

Facts about _SET_PED_HEADSHOT_DAMAGE_MULTIPLIER
Name
_SET_PED_HEADSHOT_DAMAGE_MULTIPLIER
Hash
0x2BA918C823B8BA56
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(0x2BA918C823B8BA56, -- _SET_PED_HEADSHOT_DAMAGE_MULTIPLIER
  PlayerPedId(), -- Ped ped
  0.0 -- float multiplier
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2BA918C823B8BA56", // _SET_PED_HEADSHOT_DAMAGE_MULTIPLIER
  PlayerPedId(), // Ped ped
  0.0 // float multiplier
);
C#
Function.Call((Hash)0x2BA918C823B8BA56, // _SET_PED_HEADSHOT_DAMAGE_MULTIPLIER
  API.PlayerPedId(), // Ped ped
  0.0f // float multiplier
);
All PED natives

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