On the PC version of Mafia: Definitive Edition you can activate cheat codes by typing the cheat code word like municak for Infinite Ammo in-game while playing. If you typed in the word correctly on your keyboard, your screen will flash to confirm the cheat has been turned on.