WEAPON
HAS_PED_BEEN_DAMAGED_BY_WEAPON
0x2D343D2219CD027A
Jenkins: 0xCDFBBCC6
Signature
// WEAPON
BOOL HAS_PED_BEEN_DAMAGED_BY_WEAPON(Ped ped, Hash weaponHash, int weaponType)
Parameters
| Type | Name |
|---|---|
| Ped | ped |
| 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.