Well I don't know if that cheat works, but it seems pretty straight forward so I doubt you're doing it wrong.

Screw that though, if you're having trouble with ammo just shoot them in the knees, kick them and then knife them.