How do you use the code god on counter strike half life?

sv_cheats 1

restart

and then the god mode ;]