There is no level 50 cheat code. A practical way to gain experience is to run over many zombies with a car in the maintenance tunnel. When the car is destroyed, switch to the truck outside the meat processing area.