In GTA 6, cheat codes only work after the player has beaten the main story. Cheats are only accessible after the player completes all 91 main story missions.

Challenges gate each cheat

Beating the story does not immediately allow use of cheats; it only shows a list of them. Each cheat is tied to an in-game challenge that must be completed before it can be used. Each cheat has its own challenge, and almost every cheat has one attached. The infinite ammo cheat, for example, is unlocked by collecting 25 silver medals at the shooting ranges.

How to activate a cheat

Once a cheat is unlocked, the player opens the in-game phone, holds L1 and presses R1, or LB and RB on Xbox. The player then inputs specific button combinations.