While playing the game you need to click the “ESC” key to open the main menu of the game. After that, select LAN then you can see the option of cheats and turn it on.