🎮 Games 🎯 Tips 📊 Rankings 🛒 Shop 📰 News & Leaks 🌴 GTA 6 Out Now 🎮 Buy GTA 6 💬 Discord ✉️ Newsletter ✉️ Contact
✦ The Complete Rockstar Universe ✦
Max Payne
📅 Last updated:
Max Payne came out on PC in July 2001: Remedy's noir shooter, told in comic-book panels, with a New York detective out for revenge and the bullet time that every slow-motion shooter since has borrowed. Rockstar published the console versions.
All Games GTA VI Out now RDR 2 Live GTA V Live San Andreas Live Vice City Live GTA IV GTA III Red Dead Redemption Undead Nightmare Bully Chinatown Wars Vice City Stories Liberty City Stories The Warriors Midnight Club 3 GTA Advance Red Dead Revolver Manhunt Max Payne 2 Midnight Club II State of Emergency Max Payne Oni Smuggler's Run GTA 2 GTA London 1969 GTA 1
← Swipe to see all games →
Home / Tips / Max Payne / Cheat Codes

Max Payne Cheat Codes

📅 Last updated:

Max Payne (2001) has no cheat menu. On PC the cheats are developer console commands, which only work once the game is started with the -developer parameter. The PlayStation 2 version has three button codes instead.

Commands that could not be confirmed and PS2 codes with an uncertain effect are left out.

The short version: add -developer to the shortcut, load a level, press F12 and type coder. That one word turns on invincibility and hands you every weapon, ammo and health. On PS2, pause and press L1, L1, L2, L2, R1, R1, R2, R2 for invincibility. Below are all 30 PC commands and the 3 PS2 codes, what each one really does, and the fixes for a console that refuses to open.

Advertisement
Max Payne diving backwards in slow motion while an enemy fires a shotgun
Max in bullet time, the meter getbullettime tops up · Image: Rockstar Games

How to Open the Console on PC

Right-click your Max Payne shortcut, open Properties and add -developer at the end of the Target field, after the closing quote. Start the game from that shortcut, load a level and press F12: the console opens and accepts the commands below. Without -developer, F12 does nothing.

Two details trip people up. The parameter goes outside the quotation marks that Windows puts around the path, with a space before it, so the end of the Target line reads ...maxpayne.exe" -developer. And the console only opens once you are inside a level: on the main menu, F12 still does nothing even with the parameter in place.

Every command on this page is typed the same way: the word, then Enter. The copy buttons on the cards put the exact spelling on your clipboard, brackets and underscores included.

Max Payne holding a pistol in a rainy street
Max Payne holding a pistol in a rainy street · Image: Rockstar Games
Advertisement

General Commands

Type a command in the console and press Enter.

God mode, all weapons, ammo and health
🖥️ PC
coder
Invincibility on
🖥️ PC
god
Invincibility off
🖥️ PC
mortal
All weapons
🖥️ PC
getallweapons
Infinite ammo
🖥️ PC
getinfiniteammo
More bullet time
🖥️ PC
getbullettime
Painkillers
🖥️ PC
getpainkillers
Health
🖥️ PC
gethealth
Add 100 health
🖥️ PC
c_addhealth(100)
Walk through walls
🖥️ PC
noclip
Walk through walls off
🖥️ PC
noclip_off
Show frame rate
🖥️ PC
showfps
Higher jump
🖥️ PC
jump10
Even higher jump
🖥️ PC
jump20
Highest jump
🖥️ PC
jump30

Weapon Commands

Each command hands you one weapon.

Baseball bat
🖥️ PC
getbaseballbat
Beretta
🖥️ PC
getberetta
Dual Berettas
🖥️ PC
getberettadual
Desert Eagle
🖥️ PC
getdeserteagle
Sawed-off shotgun
🖥️ PC
getsawedshotgun
Pump shotgun
🖥️ PC
getpumpshotgun
Jackhammer
🖥️ PC
getjackhammer
Ingram
🖥️ PC
getingram
Dual Ingrams
🖥️ PC
getingramdual
MP5
🖥️ PC
getmp5
Colt Commando
🖥️ PC
getcoltcommando
Molotov cocktail
🖥️ PC
getmolotov
Grenade
🖥️ PC
getgrenade
M79 grenade launcher
🖥️ PC
getm79
Sniper rifle
🖥️ PC
getsniper
Max Payne, night
Max Payne, night · Image: Rockstar Games
Advertisement

PlayStation 2 Codes

Two codes are entered on the pause screen during play, the level unlock on the main menu.

Jump to: 127918; PlayStation 2 · pause · 127918; PlayStation 2 · main menu

127918; PlayStation 2 · pause

Invincibility
🎮 PlayStation 2 · pause
L1, L1, L2, L2, R1, R1, R2, R2
All weapons and 8 painkillers
🎮 PlayStation 2 · pause
L1, L2, R1, R2, TRIANGLE, CIRCLE, X, SQUARE

127918; PlayStation 2 · main menu

All levels after the first subway level
🎮 PlayStation 2 · main menu
UP, DOWN, LEFT, RIGHT, UP, LEFT, DOWN, CIRCLE

Four Commands to Learn First

Thirty commands is a lot to remember. These four cover most reasons to open the console: staying alive, getting the guns, switching the safety net off again and keeping the bullet time meter full.

Jump to: 128421;️ PC · start here · 128421;️ PC · undo · 128421;️ PC

128421;️ PC · start here

God mode, all weapons, ammo and health
🖥️ PC · start here
coder

128421;️ PC · undo

Invincibility off
🖥️ PC · undo
mortal
Also switches off the invincibility that coder turned on.

128421;️ PC

Infinite ammo
🖥️ PC
getinfiniteammo
More bullet time
🖥️ PC
getbullettime
Max Payne, fog stalk
Max Payne, fog stalk · Image: Rockstar Games

What Each Command Actually Does

The 30 PC commands split in two: 15 general commands that change Max or the screen, and 15 that each hand over one weapon. The general ones, grouped by use:

The all-in-one and the on/off pair

coder is the shortcut: invincibility, every weapon, ammunition and health in a single word. If you only want to stop dying and keep the arsenal you have found so far, use god instead, which turns on invincibility and nothing else. mortal is the off switch for both, so you can play a hard section with the safety net on and drop it again for the next one.

Supplies: weapons, ammo, health and painkillers

getallweapons gives you every weapon, while coder adds invincibility, ammunition and health on top. getinfiniteammo means you never run dry. gethealth restores health, while c_addhealth(100) adds a fixed 100 points; type it exactly as shown, brackets included. getpainkillers gives you 8 painkillers, the same number the PS2 all weapons code hands over.

Advertisement

Bullet time

getbullettime tops up the bullet time meter, so you can keep diving through doorways in slow motion instead of rationing the meter. The game is built around bullet time, and this command keeps the effect running instead of replacing it.

Moving and measuring

noclip lets Max walk through walls, and noclip_off puts the walls back. It is handy for getting past a spot where you are stuck, but switch it off again before carrying on. jump10 raises Max's jump, and jump20 and jump30 go higher still. showfps puts a frame rate counter on screen, useful when you are testing the game on a modern PC.

Advertisement

The 15 weapon commands

Each one starts with get and ends with the weapon's name: the baseball bat, the Beretta and dual Berettas, the Desert Eagle, the sawed-off and pump shotguns, the Jackhammer, the Ingram and dual Ingrams, the MP5, the Colt Commando, the Molotov cocktail, the grenade, the M79 grenade launcher and the sniper rifle. Pick one when you want to try a specific gun early; type getallweapons when you want them all.

Max Payne Cheats by the Numbers

Counting the lists above, the 30 PC commands run from 3 letters, god, to 16 characters, c_addhealth(100). Eleven of the 15 weapon commands are at least 10 letters long, so typing coder or getallweapons once is quicker than asking for the guns one by one.

The three PS2 codes are 8 presses each, 24 in total, and each one has a pattern that makes it easy to learn. Invincibility presses every shoulder button twice, in order: L1, L1, L2, L2, R1, R1, R2, R2. All weapons presses every shoulder button and every face button exactly once: the four shoulders in the same order, then Triangle, Circle, X, Square, going round the face buttons. The level unlock is the odd one out, seven directions on the d-pad finished with Circle.

CodePlatformLengthWhere to enter it
coderPC5 lettersDeveloper console (F12), in a level
c_addhealth(100)PC16 characters, the longestDeveloper console (F12), in a level
InvincibilityPS28 pressesPause screen, during play
All weapons and 8 painkillersPS28 pressesPause screen, during play
All levels after the first subway levelPS28 pressesMain menu
Max Payne firing at a man in a hallway doorway
Max Payne firing at a man in a hallway doorway · Image: Rockstar Games
Advertisement

Max Payne and Max Payne 2 Commands Compared

The sequel kept the developer console, so a lot of commands carry over, but not all of them. Comparing our two lists, 20 commands appear in both games: coder, god, mortal, getallweapons, getbullettime, gethealth, getpainkillers, showfps and the three jump commands, plus nine weapons, the Beretta, Desert Eagle, both shotguns, Ingram, MP5, Colt Commando, Molotov and sniper rifle. Ten are listed only here, for the first game.

What changesMax Payne (2001)Max Payne 2 (2003)
Console keyF12, once a level is loaded~, the key under Esc
Start parameter-developer-developer
PC commands listed3028
Shared commands2020
Listed for this game onlygetinfiniteammo, c_addhealth(100), noclip, noclip_off, getbaseballbat, getberettadual, getjackhammer, getingramdual, getgrenade, getm79showhud, clr, getgraphicsnovelpart1 to 3, getdragunov, getkalashnikov, getstriker
PS2 codes3, on the pause screen and main menu1, during play, then a new game
Xbox codesNone confirmedNone confirmed

The practical lesson: a list that mixes the two games will give you dead commands. getjackhammer and getm79 do nothing in the sequel, and the sequel's story commands are not on this list. The full sequel list is on our Max Payne 2 cheat codes page.

Max Payne diving sideways with a gun in each hand while a guard returns fire
A two-gun shootdodge, the kind of fight god mode takes the risk out of · Image: Rockstar Games

Which Cheats Work on Your Version

Max Payne came out on PC in July 2001 and on PS2 and Xbox from December 2001, with Rockstar publishing the console versions. The cheats follow the platform, not the year, so check your version before you start typing.

VersionHow cheats workWhat you get
PC (2001)Developer console: -developer on the shortcut, F12 in a level30 commands
PlayStation 2 (2001)Button codes on the pause screen, level unlock on the main menu3 codes
PS4 (2016 re-release of the PS2 game)Same game as the PS2 versionThe PS2 codes are not confirmed on this release
Xbox (2001)No confirmed cheat menuNone confirmed
Xbox One and Series X|S (since 15 November 2021)Plays the original Xbox versionNone confirmed

On PC the game is still sold, though not in every country: the Max Payne price comparison lists the current offers, and the Max Payne game page has the release history.

Max Payne in a leather coat
Max Payne in a leather coat · Image: Rockstar Games
Advertisement

Why a Max Payne Cheat Does Nothing

If a Max Payne cheat does nothing, check the causes below. On PC the console stays locked unless the game is started with the -developer parameter, and the PlayStation 2 codes are entered on specific screens.

F12 does nothing at all

The game was not started with the -developer parameter, so the console stays locked. Right-click your Max Payne shortcut, open Properties and add -developer at the end of the Target field, after the closing quote. Start the game from that shortcut and F12 opens the console.

F12 pressed too early

The console opens only once a level is loaded. Starting the game from the modified shortcut is not enough on its own. Load a level first, then press F12, and the console will open and accept the commands.

PS2 code entered in the wrong place

The invincibility code and the all weapons code are entered on the pause screen during play. The level unlock is the exception: it is entered on the main menu.

PC command tried on PS2, or the other way round

The two versions work differently. On PC the cheats are developer console commands, while the PlayStation 2 version has three button codes instead. A command like coder typed on PS2, or a button sequence pressed on PC, will not do anything.

The command comes from Max Payne 2

Lists online often mix the two games. The sequel's story commands and its Dragunov, Kalashnikov and Striker commands are not part of this list. If a command is not in the cards above, check the comparison table before assuming you mistyped it.

Command could not be confirmed

Some commands that circulate online could not be confirmed and are not listed here. Use only the commands shown on this page.

Invincibility is still on

coder and god both leave invincibility running until you switch it off. Open the console again and type mortal to get your normal health bar back.

Playing the Xbox version

No Xbox cheat could be confirmed. Two different cheat menu sequences for that version contradict each other, so they are not listed. If you are playing on Xbox, there is no confirmed code to try.

Advertisement

Three Ways to Use the Console

Replay the story for the noir

Type god at the start of a chapter and play it for the graphic novel panels and the dialogue rather than the fight. Every chapter, in order, is on our Max Payne story page.

Endless bullet time

getinfiniteammo and getbullettime together turn every room into a slow motion set piece: dive, empty the clip, top up the meter, dive again. Add god if you want to try the riskiest dives without reloading.

Try the whole arsenal early

getallweapons in the first chapters lets you see what each gun does long before the story hands it to you. Type mortal afterwards if you only used coder for the guns and want the danger back.

More Max Payne on GTAside

The rest of the first game is covered too: the Max Payne game page with its release history and the remake, the characters, from Max himself to Nicole Horne, and the full story, chapter by chapter. For the sequel, see the Max Payne 2 game page and its cheat codes.

Frequently Asked Questions

How do you enable cheats in Max Payne on PC?
Add -developer to the Target field of the game's shortcut, start the game from it, then press F12 in a level to open the console. Type coder for god mode, every weapon, ammo and health.
Why does F12 not open the console in Max Payne?
Because the game was not started with the -developer parameter. The console stays locked without it. In Max Payne 2 the key is different: the console opens with ~, not F12.
What does the coder cheat do in Max Payne?
It turns on invincibility and gives you every weapon, ammo and health in one go. To switch invincibility off afterwards, type mortal.
Are there Max Payne cheats for PS2?
Yes, three button codes: invincibility and all weapons with 8 painkillers from the pause screen, and a level unlock from the main menu that opens every level after the first subway level.
Are there Max Payne cheats for Xbox?
None that could be confirmed. Two different cheat menu sequences circulate for the Xbox version and contradict each other, so they are not listed here.
Do Max Payne 2 console commands work in Max Payne?
Some do. 20 commands appear in both games, including coder, god, mortal, getallweapons and the three jump commands, but the sequel's story commands and its Dragunov, Kalashnikov and Striker commands are not on the first game's list, and the console key is F12 here, not ~.
How many painkillers does getpainkillers give in Max Payne?
Eight, the same number as the PS2 all weapons code. Type getpainkillers in the F12 console during a level.