found this some where Step 1 Download Mafia 2 Dev Console. just google it i found it right off Step 2 Extract m2dev console in the same folder as “Mafia2.exe”. Step 3 Start the game, ALTTAB back to where you extracted m2dev console, run “m2dev.exe” and go back to the game. Step 4 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! cg_ammoinclip cg_ammo cg_waterhover cg_police cg_showhud cg_health cg_drawfps cg_fightmode cg_pedsfightback cg_carhorns cg_missionstatus cg_time cg_weather cg_money crash quit #lua #execlua
Got it to work! Download the m2dev.zip file extract it and copy the contents of that file to the same folder as mafia2.exe, it should be something like C:\Program Files (x86)\2K Games\Mafia II\pc, then use the file m2dev.exe to start the game. Press F12 in the game to bring up the console. There ya go have fun and happy tweaking!
despite what the trainer message that pops up may say, it's better to run the game with the trainer and forget the no-cd fix, at least in my experience it has been, don't forget to shut off all cheats before cutscenes.