pen the hitmancontracts.ini file (it's in the folder where the Hitman game files are) and add the following lines to it:
ENABLECONSOLE 1
ENABLECHEATS 1
Then start the game and during gameplay press SHIFT + ESC. Change the cheat value from 0 (false) to 1 (true) to enable the cheat.
God 1 :Enables God Mode(God 0 deactivates it)
Giveall :Gives all weapons and items
Infammo :Gives Infinite Ammo for all guns
Nailgun 1 :Enables Nail gun (Nail gun 0 disables)
Invisible 1 :Makes you invisible to enemies*
Invisible 0 eactivates invisibility
Cheat: Cardboard Tube
Enter "IOIPENNY" after enabling cheats.
Cheat: Level Select
Open the HitmanContracts Configuation Settings file found in:
C:\Program Files\Eidos\Hitman Contracts
and change the following:
DefaultScene=AllLevels\Logos.gms
to
DefaultScene=AllLevels\levelmenu.gms
Save and play! You will get a level select menu.
Unlockable: Mini Gun
The mini gun is held by a patient who is behind the locked doors of a basement room in Mission 1: Asylum Aftermath. The keycard that unlocks the doors can be found during Mission 9: The Wang Fou Incident. It is called Orthmeyer’s Keycard and is on Lee Hong’s desk in his office on the second floor of his mansion. After finding the card, finish the mission and save your progress. Quit to the main menu and replay the first mission. Head to the northern section of the map and turn right in the small room with the red flashing sensor on the ceiling. Pass through the west door and dispose of the patient in order to collect the mini gun.