Yes, you read it right, Mafia 2 has an in-game dev console which is not official but a custom injected program. You can tweak Mafia 2 with ease using Mafia 2 dev console and enable all sorts of cheats including god mode.
Download Mafia 2 Dev Console.
You can download Mafia 2 dev console from here.
Extract m2dev console in the same folder as “Mafia2.exe”.
Start the game, ALT-TAB back to where you extracted m2dev console, run “m2dev.exe” and go back to the game.
Press F12, and the console will pop up.
You can tweak the console key by editing m2dev.ini. All keys must be enter in DEC value, HEX will not work!
Read the readme file for examples of what you can do with m2dev console.