For dvar/local commands place a "/" in front of the command.
Eg. to change fov type /cg_fov 80
Commands such as /disconnect also work. Dvar limits are removed therefor allowing 100 fov ect.
List dvars and local commands:
| Command |
Type |
Default Value |
Description |
| /Any dvar in the game. |
|
|
|
| /exec |
string |
none |
Execute all dvars in a txt file. Usage: "/exec default" will execute default.txt. |
| /name |
string |
none |
Change your name. Coloured names are supported. |
| /list |
bool |
0 |
Shows a list of clients in the game along with their number. |
| The following require you to be host. |
|
|
|
| /jump_height |
float |
39 |
|
| /g_speed |
int |
190 |
|
| /g_gravity |
int |
800 |
|
| /jump_stepHeight |
float |
18 |
The max height for walking onto. |
| /bg_fallDamageMinHeight |
float |
128 |
|
| /jump_slowDownEnable |
bool |
1 |
Lets you jump infinite times without slowing down |
| /forgemode |
bool |
0 |
Enables forge mode |
| /ClearMap |
bool |
none |
Use with 1 to clear all spawed/duplicated entities |
| /SaveMap |
string |
none |
Saves all spawned/duplicated entites to a text file. Usage: "/SaveMap mp_test" |
| /LoadMap |
string |
none |
Loads all entites from a text file. Usage: "/LoadMap mp_test" |
For client commands place an "!" in front of the command.
All require you to be host and be in a private match.
Eg. to give client 0 whose name is Bill noclip type "!noClip Bill 1" or "!noClip 0 1"
Client commands require a name or client number. Use -1 for all clients. Names are resolved by finding the string in a name so using "a" will do it for all clients with an "a" in their name, it is non case sensitive. For clients whose name is hard to resolve use "/list 1 to get their client number"
Format is !<command> <client name or number> <value>
| Command |
Type |
Description |
| !NoClip |
Bool |
Gives the client NoClip. Usage: "!NoClip bill on" |
| !GodMode |
Bool |
Gives the client god mode and invisibility which allows them to bypass death barriers. |
| !Give |
String |
Gives the client the weapon which name you enter. Usage "!Give bill iw5_deserteagle_mp". Use ammo as the value to give ammo. |
| !GiveTrail |
String |
Gives the client an FX trail. Usage "!GiveTrail bill 1". There are 5 to choose from, use 0 to turn it off. |
| !Bounce |
None |
Bounces the client. Usage "!Bounce Bill 1" will bounce bill. |
| !BounceGun |
Bool |
Bounces the player whenever they shoot. Works best with automatic weapons. Usage: "!BounceGun Bill 1". |
| !KickClient |
String |
Kicks the client with a message. Usage "!KickClient Bill Being a cunt" will kick bill and tell him "Kicked for: Being a cunt". |
| !iPrintLn |
String |
Prints a message to the clients obituary feed. Usage "!iPrintLn Bill Hello". |
| !iPrintLnBold |
String |
Same as iPrintLn but prints to the middle of their screen. |
| !SetVision |
String Int |
Sets the clients vision. Usage: "!SetVision Bill night_mp 9999". The time argument is optional. |
| !SetBlur |
Int |
Blurs the clients screen. Usage: "!Blur Bill 10". |
| !ResetFX |
None |
Resets the clients FX. Usage: "!ResetFX Bull 1" |
| !SwitchToWeapon |
Int |
Changes the clients weapon to the weaponIndex you choose. They must have the weapon on them. Usage: "!SwitchToWeapon Bill 0" |
| !OpenMenuFalse |
Int |
Opens a menu for the client but they can't navigate it. Usage: "!OpenMenuFalse Bill 5" |
| !OpenMenu |
Int |
Same as OpenMenuFalse but they can navigate the menu. |
| !SetVolume |
Int |
Set's the client's volume. Usage: "!SetVolume Bill 3" |
| !PlaySound |
Int |
Plays the soundindex you put to the client. Usage: "!PlaySound Bill 1" |
| !SendSplashScreen |
Int Int |
Gives the client a splash screen of int1 with a score of int2. Usage: "!SendSplashScreen Bill 46 555". |
| !SetTeamScore |
Int |
Sets the team score to the value for a few seconds. Usage: "!SetTeamScore Bill 999999". |
| !SendToLoadingScreen |
Int |
Sends the client to the loading screen until the game is over or they end process if you use a certain value . |
| !SetClientDvar |
String Value |
Sets the clients dvar to the value. Most dvars don't work. Only values within a certain range can be used. Usage: "!SetClientDvar -1 cg_fov 80". |
| !ServerCommand |
String |
Lets you do any server command manually. Usage: "!ServerCommand Bill f "Hello"" does the same as "!iPrintLn Bill Hello". |