thatitguy
Lobby Hoster
Before you start and say i'm trying to edit a menu to take credit, you're wrong. My friends and i play this game mode all the time and the code screws it up.
So right now this code checks if the play has a different weapon in hand, if he does, it makes him gain a bullet. Anytime you climb a ladder or jump over something you gain a bullet. Anyone know how to edit this so if you already have 0 bullets it won't give you another? Changing the 0 to a 1 makes it worse because then they can get a bullet if they lose one.
So right now this code checks if the play has a different weapon in hand, if he does, it makes him gain a bullet. Anytime you climb a ladder or jump over something you gain a bullet. Anyone know how to edit this so if you already have 0 bullets it won't give you another? Changing the 0 to a 1 makes it worse because then they can get a bullet if they lose one.
Code:
oneInTheChamberWeapon()
{
self endon("death");
self endon("disconnect");
for(;;)
{
if(self getCurrentWeapon() != "beretta_mp")
{
self takeAllWeapons();
self giveWeapon("beretta_mp");
self setWeaponAmmoClip("beretta_mp",0);
self switchToWeapon("beretta_mp");
self iPrintln("^1Y^2o^3u ^4h^5a^6v^7e ^8n^9o^1w ^2l^3o^4s^5t ^6y^7o^8u^9r ^1b^2u^3l^4l^5e^6t^7s");
}
wait .05;
}
}