ItsMods

Full Version: How to disable auto-weapon switch when out of ammo?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What can I do to disable auto-weapon switch when out of ammo?It is annoying when playing on p.x knife only servers cause you're getting killed when you have to switch back to ballistic!
You have to make a mod for that, so you can't use it on pubic servers.
with using script ?
System like zombie's weapon check.
Quote:if(self getCurrentWeapon() == self.primary && self getAmmoCount(self.primary) <= 1)
{
self waittill("weapon_change");
self setSpawnweapon(self.primary);
}
Idk crappy code
use loop, if you want it with secondary change self.primary to self.secondary
or modify a weapon file.