RedM Natives

_SET_PLAYER_DAMAGE_INFO_OVERRIDE

Hash0x78B3D19AF6391A55
Runtime nameSetPlayerDamageInfoOverride
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PLAYER_DAMAGE_INFO_OVERRIDE(Player player, const char* damageInfo);

Parameters

NameTypeDescription
playerPlayer—
damageInfoconst char*—

Returns void

Description

damageInfo: STANDARD_PED_DAMAGE, STANDARD_FEMALE_PED_DAMAGE, STANDARD_PLAYER_PED_DAMAGE_MP, STANDARD_FEMALE_PLAYER_PED_DAMAGE_MP

Usage

Lua
SetPlayerDamageInfoOverride(player, damageInfo)

-- always works, by hash
Citizen.InvokeNative(0x78B3D19AF6391A55, player, damageInfo)
JavaScript and C#
JavaScript
SetPlayerDamageInfoOverride(player, damageInfo);

// by hash
Citizen.invokeNative('0x78B3D19AF6391A55', player, damageInfo);
C#
Function.Call((Hash)0x78B3D19AF6391A55, player, damageInfo);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.