void Shoot() { if (shootEnabled && haveWeapon1 == HaveWeapon.M4A1 && M4A1.Ammo > 0 && M4A1.GetInput()) { StartCoroutine(ShootTimer()); } else if (shootEnabled && haveWeapon1 == HaveWeapon.LMG && LMG.Ammo > 0 && LMG.GetInput()) { StartCoroutine(ShootTimer()); } else if (shootEnabled && haveWeapon1 == HaveWeapon.HandGun && HandGun.Ammo > 0) { if (HandGun.GetInput()) { StartCoroutine(ShootTimer()); } if (HandGun.dual && HandGun2.Ammo > 0 && HandGun2.GetInput()) { StartCoroutine(ShootTimer2()); } } else if (shootEnabled && haveWeapon1 == HaveWeapon.ScifiGun && ScifiGun.Ammo > 0 && ScifiGun.GetInput()) { StartCoroutine(ShootTimer()); } }