_SET_PLAYER_DAMAGE_INFO_OVERRIDE
Hash
0x78B3D19AF6391A55Runtime name
SetPlayerDamageInfoOverrideNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_DAMAGE_INFO_OVERRIDE(Player player, const char* damageInfo);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
damageInfo | const char* | — |
Returns void
Description
damageInfo: STANDARD_PED_DAMAGE, STANDARD_FEMALE_PED_DAMAGE, STANDARD_PLAYER_PED_DAMAGE_MP, STANDARD_FEMALE_PLAYER_PED_DAMAGE_MP
Usage
SetPlayerDamageInfoOverride(player, damageInfo)
-- always works, by hash
Citizen.InvokeNative(0x78B3D19AF6391A55, player, damageInfo)JavaScript and C#
SetPlayerDamageInfoOverride(player, damageInfo);
// by hash
Citizen.invokeNative('0x78B3D19AF6391A55', player, damageInfo);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.