{"hash":"0xD2209866B0CB72EA","ns":"WEAPON","name":"_IS_PED_CARRYING_WEAPON_SNIPER_AT_ATTACH_POINT","slug":"_IS_PED_CARRYING_WEAPON_SNIPER_AT_ATTACH_POINT","official":false,"named":true,"luaName":"IsPedCarryingWeaponSniperAtAttachPoint","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"attachPoint","type":"int"}],"summary":"Checks whether the weapon stored/equipped at the specified ped attach point is classified as a sniper weapon.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks whether the weapon stored/equipped at the specified ped attach point is classified as a sniper weapon.\n\nParams:\n- ped: Target ped.\n- attachPoint: Attach point / weapon slot to check.\n\nReturns:\n- BOOL: True if that slot contains a sniper-class weapon.\n\nVideo:\n- https://imgur.com/a/sRwan6L"},{"source":"vorp","format":"text","body":"Returns true if the ped has a sniper-type weapon equipped or stored in the specified attach point (slot)."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_IS_PED_CARRYING_WEAPON_SNIPER_AT_ATTACH_POINT","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_IS_PED_CARRYING_WEAPON_SNIPER_AT_ATTACH_POINT.md","snippets":{"lua":"local retval = IsPedCarryingWeaponSniperAtAttachPoint(ped, attachPoint)","luaInvoke":"local retval = Citizen.InvokeNative(0xD2209866B0CB72EA, ped, attachPoint, Citizen.ReturnResultAnyway())","js":"const retval = IsPedCarryingWeaponSniperAtAttachPoint(ped, attachPoint);","jsInvoke":"const retval = Citizen.invokeNative('0xD2209866B0CB72EA', ped, attachPoint, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xD2209866B0CB72EA, ped, attachPoint);","notes":["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."]}}