WEAPON

HAS_PED_GOT_WEAPON

0x8DECB02F88F428BC Jenkins: 0x43D2FA82

Signature

// WEAPON
BOOL HAS_PED_GOT_WEAPON(Ped ped, Hash weaponHash, BOOL p2)

Parameters

Type Name
Ped ped
Hash weaponHash
BOOL p2

Return type BOOL

Build 323

Documentation

p2 should be FALSE, otherwise it seems to always return FALSE Bool does not check if the weapon is current equipped, unfortunately. 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.