All pastes #407919 Raw Edit

Anonymous

public text v1 · immutable
#407919 ·published 2007-03-24 13:18 UTC
rendered paste body
void() classpick =
{

        if (self.classtype == 0)
                {       
                self.classtype = 1;    //the variable is now set to the old guy class
                showclass();
		self.ammo_rockets == 50;
		self.items == self.items |
			IT_AXE |
			IT_SHOTGUN |
			IT_ROCKET_LAUNCHER;
		self.weapon == IT_ROCKET_LAUNCHER;
                }

        
        else if (self.classtype == 1)
                {
                self.classtype = 0;    //the variable is now set to the Quake guy class
                showclass();
		self.ammo_cells == 100;
		self.items == self.items |
			IT_AXE |
			IT_SHOTGUN |
			IT_LIGHTNING;
		self.weapon == IT_LIGHTNING;
                }

};