To enter the cheat codes in gta 5, press the tilde key on your keyboard and enter the code.