Basically, you can enter in 'get all', i think it is something along those lines, anyway you enter that into the command console and it gives you every weapon. Anyway, i think this guys simply entered that in, then run the ray gun out of ammo, so that when he goes to the random box, it can only offer one weapon.