// the last stand pistol is given after the weaponslist is made self giveWeapon( self.laststandpistol ); self switchToWeapon( self.laststandpistol ); if ( level.amountOfLastStandPistolAmmoInClip == 0 && level.amountOfLastStandPistolAmmoInStock == 0 ) { self GiveMaxAmmo( self.laststandpistol ); } else { self SetWeaponAmmoClip( self.laststandpistol, level.amountOfLastStandPistolAmmoInClip ); self SetWeaponAmmoStock( self.laststandpistol, level.amountOfLastStandPistolAmmoInStock ); }