Use a text editor like notepad to edit the swat4x.ini file in the game directory.
Look for the [Engine.GameEngine] section, change the "EnableDevTools=False" line to "EnableDevTools=True". Then, press ~ (North American version) or ' (European version) during game play to display the console window.
Enter one of the following codes to activate the corresponding cheat function. Codes must be reactivated when a new mission starts.
Effect - Code
Disable no clipping mode - walk
God mode - god
Toggle third person view - behindview [0 or 1]
Map select - open [map name]
No clipping mode - ghost
Set gravity value - setgravity [number]
Set jump height - setjump [number]