{"hash":"0x76A18844E743BF91","ns":"WEAPON","name":"HAS_WEAPON_GOT_WEAPON_COMPONENT","slug":"HAS_WEAPON_GOT_WEAPON_COMPONENT","official":true,"named":true,"luaName":"HasWeaponGotWeaponComponent","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"weapon","type":"Object"},{"name":"addonHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x76A18844E743BF91","gtaJhash":"0x1D368510","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/HAS_WEAPON_GOT_WEAPON_COMPONENT","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/HAS_WEAPON_GOT_WEAPON_COMPONENT.md","snippets":{"lua":"local retval = HasWeaponGotWeaponComponent(weapon, addonHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x76A18844E743BF91, weapon, addonHash, Citizen.ReturnResultAnyway())","js":"const retval = HasWeaponGotWeaponComponent(weapon, addonHash);","jsInvoke":"const retval = Citizen.invokeNative('0x76A18844E743BF91', weapon, addonHash, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x76A18844E743BF91, weapon, addonHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}