{"hash":"0x705BE297EEBDB95D","ns":"WEAPON","name":"IS_WEAPON_A_GUN","slug":"IS_WEAPON_A_GUN","official":true,"named":true,"luaName":"IsWeaponAGun","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"weaponHash","type":"Hash"}],"summary":"Returns true if CWeaponInfoFlags::Flags::Gun is set.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns true if CWeaponInfoFlags::Flags::Gun is set."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/IS_WEAPON_A_GUN","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/IS_WEAPON_A_GUN.md","snippets":{"lua":"local retval = IsWeaponAGun(weaponHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x705BE297EEBDB95D, weaponHash, Citizen.ReturnResultAnyway())","js":"const retval = IsWeaponAGun(weaponHash);","jsInvoke":"const retval = Citizen.invokeNative('0x705BE297EEBDB95D', weaponHash, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x705BE297EEBDB95D, 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` ``."]}}