Console Commands and CVars
Jump to navigation
Jump to search
Historical: This page is retained for historical reference. | |
For updated versions see: Server Commands and Client Commands |
This page shows a list of commands and cvars that are accessable ingame through the console (F8).
Commands
- help
- Prints useful information to the console
- exit
- Quits MTA
- quit
- Same as above
- ver
- Prints the current version to the console
- screenshot
- Captures a screenshot
- window
- Enables windowed mode (Can only be used while not being connected to a server)
- time
- Shows the current time
- connectiontype
- Sets the connection type (Can be either "lan", "dsl" or "modem")
- connect
- Attempts connecting to a specified host (Syntax: "connect <ip> <port>")
- reconnect
- Reconnects to the last visitied server
- showchat
- Toggles chat
- shownametags
- Toggles player nametags
- shownetstat
- Shows/Hides current network usage statistics
- bind
- Binds a key and optionally it's state to a command or control (Syntax: "bind <key> [<state>] <command>")
- unbind
- Unbinds a key completely or just from a given command/control (Syntax: "unbind <key> [<state> <command>]
- binds
- Shows a list of all binds
- copygtacontrols
- Updates the gta controls (Try this when your controls seem to be reset)
- debugscript
- Displays/Hides the debugwindow at a given debug-level (Acceptable values: 0 = off; 1 = errors; 2 = errors,warnings; 3 = errors,warnings and info messages)
- cleardebug
- Clears the debugwindow (enabled using the debugscript command)
- hud
- Hides/Shows the GTA Hud (0 = off; 1 = on)
- saveconfig
- Saves your settings to the coreconfig.xml file immediatly
CVars
(Usage: CVAR = value [value2] etc.)
CVAR | Default value(s) | |
---|---|---|
fps_limit | 100 | |
chat_color | 0 0 128 100 | |
chat_input_color | 0 0 129 110 | |
chat_input_text_color | 172 213 254 255 | |
chat_input_prefix_color | 172 213 254 255 | |
chat_use_cegui | 0 | |
chat_lines | 7 | |
chat_text_color | 255 255 255 255 | |
chat_scale | 1 | |
chat_width | 1 | |
chat_css_style_text | 0 | |
chat_css_style_background | 0 | |
chat_line_life | 12000 | |
chat_line_fade_out | 3000 | |
chat_font | 0 |