{"hash":"0xBBC67A6F965C688A","ns":"WEAPON","name":"_HAS_PED_GOT_WEAPON_COMPONENT","slug":"_HAS_PED_GOT_WEAPON_COMPONENT","official":false,"named":true,"luaName":"HasPedGotWeaponComponent","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"componentHash","type":"Hash"},{"name":"weaponHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/_HAS_PED_GOT_WEAPON_COMPONENT","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_HAS_PED_GOT_WEAPON_COMPONENT.md","snippets":{"lua":"local retval = HasPedGotWeaponComponent(ped, componentHash, weaponHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xBBC67A6F965C688A, ped, componentHash, weaponHash, Citizen.ReturnResultAnyway())","js":"const retval = HasPedGotWeaponComponent(ped, componentHash, weaponHash);","jsInvoke":"const retval = Citizen.invokeNative('0xBBC67A6F965C688A', ped, componentHash, weaponHash, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xBBC67A6F965C688A, ped, componentHash, weaponHash);","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` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}