public virtual void FireAttachedGun(Vector3 targetPos, float aimCone, Transform muzzleToUse = null, BaseCombatEntity target = null) { BaseProjectile attachedWeapon = GetAttachedWeapon(); if (!(attachedWeapon == null) && !IsOffline()) { attachedWeapon.ServerUse(1f, gun_pitch); } }