native ns_has_weapon(id,weapon,setweapon=-1);
Returns if the player has the weapon or not in their pev->weapons field. set "setweapon" to 0 to turn the bit off, set to 1 to turn it on. Or omit it to just return the value.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.