WEAPON

HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON

0x131D401334815E94 Jenkins: 0x6DAABB39

Signature

// WEAPON
BOOL HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON(Entity entity, Hash weaponHash, int weaponType)

Parameters

Type Name
Entity entity
Hash weaponHash
int weaponType

Return type BOOL

Build 323

Documentation

It determines what weapons caused damage: If you want to define only a specific weapon, second parameter=weapon hash code, third parameter=0 If you want to define any melee weapon, second parameter=0, third parameter=1. If you want to identify any weapon (firearms, melee, rockets, etc.), second parameter=0, third parameter=2. Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.