Mafia II has a hidden developer console. Enable it by editing mafia2.ini (add -console to launch options). Useful for some tweaks, but not full trainer functionality.