CITMTA consoleCIT Tools

MTA console commands

94 commands

Open the console with F8 or `. Type a command without a /.

How it works and tips

Your MTA (F8 console) 50

Part of MTA itself, on your computer.

help

Any time

Lists your MTA's own console commands, each with its short MTA help line.

How to type it
help
MTA's help text
this help screen
Source (file, line)
added in CCore.cpp 1500runs CCommandFuncs.cpp 21

ver

Any time

Shows the version of your MTA and its copyright line in the console.

How to type it
ver
MTA's help text
shows the version
Source (file, line)
added in CCore.cpp 1503runs CCommandFuncs.cpp 42

showhud

Any time

Shows or hides the game HUD. 1 shows it, 0 hides it, nothing switches it.

How to type it
showhud
showhud 1
showhud 0
MTA's help text
shows the hud
Source (file, line)
added in CCore.cpp 1505runs CCommandFuncs.cpp 367

binds

Any time

Lists all your key binds in the console. Add a key name to see only the binds of that key.

How to type it
binds
binds <key>
MTA's help text
shows all the binds
Source (file, line)
added in CCore.cpp 1506runs CCommandFuncs.cpp 350also CKeyBinds.cpp 2545

serial

Any time

Shows your MTA serial in the console.

How to type it
serial
MTA's help text
shows your serial
Source (file, line)
added in CCore.cpp 1507runs CCommandFuncs.cpp 449

connect

Any time

Joins a server. If you leave out the port it uses 22003, if you leave out the nick it uses your saved nickname, and with no password it sends none. You can also give an mtasa:// link.

How to type it
connect <host> [<port> <nick> <pass>]
connect mtasa://<host>:<port>
MTA's help text
connects to a server (host port nick pass)
Source (file, line)
added in CCore.cpp 1516runs CCommandFuncs.cpp 187

reconnect

Any time

Joins the last server again, with the address, port and password your MTA saved.

How to type it
reconnect
MTA's help text
connects to a previous server
Source (file, line)
added in CCore.cpp 1517runs CCommandFuncs.cpp 280

bind

Any time

Puts a command or a game control on a key. The command runs when the key goes down; add up to run it when you let go. bind defaults removes your binds and puts back the GTA controls and MTA's default keys. Your settings are saved after each bind.

How to type it
bind <key> [up|down] <command> [<arguments>]
bind <key> <control>
bind defaults
MTA's help text
binds a key (key control)

unbind

Any time

Removes binds. unbind <key> removes everything on that key. Add a command to remove only that one. unbind all removes every bind you have. Your settings are saved after.

How to type it
unbind <key>
unbind <key> [up|down|both] <command>
unbind <key> <control>
unbind all
MTA's help text
unbinds a key (key)
Source (file, line)
added in CCore.cpp 1519runs CCommandFuncs.cpp 344also CKeyBinds.cpp 2465

copygtacontrols

Any time

Removes your game control keys in MTA and copies the control keys from GTA: San Andreas' own settings instead.

How to type it
copygtacontrols
MTA's help text
copies the default gta controls
Source (file, line)
added in CCore.cpp 1520runs CCommandFuncs.cpp 355

screenshot

Any time

Takes a screenshot. It is saved as a .png file (mta-screen_date_time.png) in the screenshots folder of your MTA San Andreas folder.

How to type it
screenshot
MTA's default key
F12
MTA's help text
outputs a screenshot
Source (file, line)
added in CCore.cpp 1521runs CCommandFuncs.cpp 57also CScreenShot.cpp 145

saveconfig

Any time

Saves your MTA settings file now.

How to type it
saveconfig
MTA's help text
immediately saves the config
Source (file, line)
added in CCore.cpp 1522runs CCommandFuncs.cpp 374

cleardebug

Any time

Empties the debug message window.

How to type it
cleardebug
MTA's help text
clears the debug view
Source (file, line)
added in CCore.cpp 1524runs CCommandFuncs.cpp 408

chatscrollup

Any time

Scrolls the chat box. The number sets what happens: 1 starts scrolling up, -1 down, 0 stops. chatscrollup and chatscrolldown work the same way: only the number matters.

How to type it
chatscrollup 1
chatscrollup 0
MTA's default key
Page Up held down (chatscrollup 1)
MTA's help text
scrolls the chatbox upwards
Source (file, line)
added in CCore.cpp 1525runs CCommandFuncs.cpp 380also CChat.h 229

chatscrolldown

Any time

Scrolls the chat box. The number sets what happens: -1 starts scrolling down, 1 up, 0 stops. chatscrollup and chatscrolldown work the same way: only the number matters.

How to type it
chatscrolldown -1
chatscrolldown 0
MTA's default key
Page Down held down (chatscrolldown -1)
MTA's help text
scrolls the chatbox downwards
Source (file, line)
added in CCore.cpp 1526runs CCommandFuncs.cpp 387also CChat.h 229

debugscrollup

Any time

Scrolls the debug message window. 1 starts scrolling up, -1 down, 0 stops. debugscrollup and debugscrolldown work the same way: only the number matters.

How to type it
debugscrollup 1
debugscrollup 0
MTA's default key
Page Up held down (debugscrollup 1)
MTA's help text
scrolls the debug view upwards
Source (file, line)
added in CCore.cpp 1527runs CCommandFuncs.cpp 394

debugscrolldown

Any time

Scrolls the debug message window. -1 starts scrolling down, 1 up, 0 stops. debugscrollup and debugscrolldown work the same way: only the number matters.

How to type it
debugscrolldown -1
debugscrolldown 0
MTA's default key
Page Down held down (debugscrolldown -1)
MTA's help text
scrolls the debug view downwards
Source (file, line)
added in CCore.cpp 1528runs CCommandFuncs.cpp 401

showmemstat

Any time

Shows or hides memory statistics on the screen. 1 shows, 0 hides, nothing switches.

How to type it
showmemstat
showmemstat 1
showmemstat 0
MTA's help text
shows the memory statistics
Source (file, line)
added in CCore.cpp 1531runs CCommandFuncs.cpp 510

showframegraph

Any time

Shows or hides a graph of frame times on the screen. 1 shows, 0 hides, nothing switches.

How to type it
showframegraph
showframegraph 1
showframegraph 0
MTA's help text
shows the frame timing graph
Source (file, line)
added in CCore.cpp 1532runs CCommandFuncs.cpp 517

reloadnews

Any time

Loads the news on MTA's main menu again. Works only when you are not on a server. MTA marks it as a command for developers.

How to type it
reloadnews
MTA's help text
for developers: reload news
Source (file, line)
added in CCore.cpp 1536runs CCommandFuncs.cpp 268

disconnect

On a server

Leaves the server you are on.

How to type it
disconnect
MTA's help text
disconnect from the game
Source (file, line)
added in CClient.cpp 59runs ClientCommands.cpp 149

shownametags

On a server

Shows or hides the name tags above players. 1 shows, 0 hides, nothing switches.

How to type it
shownametags
shownametags 1
shownametags 0
MTA's help text
shows the nametags
Source (file, line)
added in CClient.cpp 60runs ClientCommands.cpp 156

showchat

On a server

Shows or hides the chat box. 1 shows, 0 hides, nothing switches. While the chat box is hidden you cannot type in it.

How to type it
showchat
showchat 1
showchat 0
MTA's help text
shows the chatbox
Source (file, line)
added in CClient.cpp 61runs ClientCommands.cpp 163also CCore.cpp 512

shownetstat

On a server

Shows or hides network statistics on the screen. 1 shows, 0 hides, nothing switches.

How to type it
shownetstat
shownetstat 1
shownetstat 0
MTA's help text
shows the network statistics
Source (file, line)
added in CClient.cpp 62runs ClientCommands.cpp 170

chatbox

On a server

Opens the chat input. What you type is sent with the command you give. MTA's default keys use it: T for normal chat (chatbox chatboxsay) and Y for team chat (chatbox teamsay 255 0 0). The code also reads three color numbers after the command, but this MTA version does not use them.

How to type it
chatbox <command>
MTA's default key
T (chatbox chatboxsay)
Y (chatbox teamsay 255 0 0)
MTA's help text
open the chat input
Source (file, line)
added in CClient.cpp 65runs ClientCommands.cpp 116also CCore.cpp 557

voiceptt

On a server

Push to talk for voice chat: 1 starts sending your voice, 0 stops. If the server has no voice chat, your MTA tells you once.

How to type it
voiceptt 1
voiceptt 0
MTA's default key
Z held down (voiceptt 1)
MTA's help text
transmits voice to other players
Source (file, line)
added in CClient.cpp 66runs ClientCommands.cpp 740

enter_passenger

On a server

Gets you into the nearest vehicle as a passenger. If you already sit in a passenger seat, it gets you out. It does nothing while you reload or while the mouse cursor is on.

How to type it
enter_passenger
MTA's default key
G
MTA's help text
enters a car as passenger
Source (file, line)
added in CClient.cpp 67runs ClientCommands.cpp 176

radio_next

On a server

Changes to the next radio station.

How to type it
radio_next
MTA's help text
next radio channel
Source (file, line)
added in CClient.cpp 68runs ClientCommands.cpp 211

radio_previous

On a server

Changes to the previous radio station.

How to type it
radio_previous
MTA's help text
previous radio channel
Source (file, line)
added in CClient.cpp 69runs ClientCommands.cpp 223

radar

On a server

Opens or closes MTA's big map (the player map). 1 opens, 0 closes, nothing (or -1) switches.

How to type it
radar
radar 1
radar 0
MTA's default key
F11 (radar -1)
MTA's help text
enables the player-map view
Source (file, line)
added in CClient.cpp 70runs ClientCommands.cpp 242

radar_zoom_in

On a server

Zooms the big map in. Works only while the map is open.

How to type it
radar_zoom_in
MTA's default key
Num +
MTA's help text
zooms the player-map in
Source (file, line)
added in CClient.cpp 71runs ClientCommands.cpp 249

radar_zoom_out

On a server

Zooms the big map out. Works only while the map is open.

How to type it
radar_zoom_out
MTA's default key
Num -
MTA's help text
zooms the player-map out
Source (file, line)
added in CClient.cpp 72runs ClientCommands.cpp 256

radar_move_north

On a server

Starts moving the big map north. Use it again to stop. Works only while the map is open.

How to type it
radar_move_north
MTA's default key
Num 8
MTA's help text
moves the player-map north
Source (file, line)
added in CClient.cpp 73runs ClientCommands.cpp 263

radar_move_south

On a server

Starts moving the big map south. Use it again to stop. Works only while the map is open.

How to type it
radar_move_south
MTA's default key
Num 2
MTA's help text
moves the player-map south
Source (file, line)
added in CClient.cpp 74runs ClientCommands.cpp 282

radar_move_east

On a server

Starts moving the big map east. Use it again to stop. Works only while the map is open.

How to type it
radar_move_east
MTA's default key
Num 6
MTA's help text
moves the player-map east
Source (file, line)
added in CClient.cpp 75runs ClientCommands.cpp 301

radar_move_west

On a server

Starts moving the big map west. Use it again to stop. Works only while the map is open.

How to type it
radar_move_west
MTA's default key
Num 4
MTA's help text
moves the player-map west
Source (file, line)
added in CClient.cpp 76runs ClientCommands.cpp 320

radar_attach

On a server

Switches whether the big map follows your position. Works only while the map is open.

How to type it
radar_attach
MTA's default key
Num 0
MTA's help text
attaches the player-map
Source (file, line)
added in CClient.cpp 77runs ClientCommands.cpp 339

radar_opacity_down

On a server

Makes the big map more see-through, in steps of 20 (from 255 down to 0). Works only while the map is open.

How to type it
radar_opacity_down
MTA's default key
Num /
MTA's help text
reduces player-map opacity
Source (file, line)
added in CClient.cpp 78runs ClientCommands.cpp 346

radar_opacity_up

On a server

Makes the big map less see-through, in steps of 20 (up to 255). Works only while the map is open.

How to type it
radar_opacity_up
MTA's default key
Num *
MTA's help text
increases player-map opacity
Source (file, line)
added in CClient.cpp 79runs ClientCommands.cpp 358

radar_help

On a server

Shows or hides the help text on the big map.

How to type it
radar_help
MTA's default key
Num 1
MTA's help text
toggles player-map help text
Source (file, line)
added in CClient.cpp 80runs ClientCommands.cpp 370

msg_target

On a server

Sends a private message to the player you are targeting, with the server's msg command. If you have no target, it says: Error: no player target found.

How to type it
msg_target <text>
MTA's help text
sends a message to the targetted player
Source (file, line)
added in CClient.cpp 81runs ClientCommands.cpp 375

vehicle_next_weapon

On a server

While you are in a vehicle, changes to your next weapon.

How to type it
vehicle_next_weapon
MTA's help text
changes to the next weapon whilst in a vehicle
Source (file, line)
added in CClient.cpp 82runs ClientCommands.cpp 393

vehicle_previous_weapon

On a server

While you are in a vehicle, changes to your previous weapon.

How to type it
vehicle_previous_weapon
MTA's help text
changes to the previous weapon whilst in a vehicle
Source (file, line)
added in CClient.cpp 83runs ClientCommands.cpp 398

sinfo

On a server

Prints facts about the server you are on: its address, MTA version, AC (anti-cheat) info, voice, the glitches that are on, bullet sync weapons, vehicle extrapolation, tick rates and syncer distances.

How to type it
sinfo
MTA's help text
outputs info about the current server
Source (file, line)
added in CClient.cpp 84runs ClientCommands.cpp 765also CClientGame.cpp 6675

textscale

On a server

Sets the size of the text that the server shows with text displays, from 0.8 to 3.0, and saves it. Other numbers are ignored.

How to type it
textscale <0.8 to 3.0>
MTA's help text
defines the scale multiplier of all text-displays
Source (file, line)
added in CClient.cpp 87runs ClientCommands.cpp 403

showcol

On a server

Shows the collision shapes (colshapes). Works only when a script has turned on development mode; if it is off, your MTA tells you.

How to type it
showcol
showcol 1
showcol 0
MTA's help text
(Development mode) shows the colshapes
Source (file, line)
added in CClient.cpp 94runs ClientCommands.cpp 861

showsound

On a server

Writes the IDs of world sounds into the debug window. Works only when a script has turned on development mode; if it is off, your MTA tells you.

How to type it
showsound
showsound 1
showsound 0
MTA's help text
(Development mode) prints world sound ids into the debug window
Source (file, line)
added in CClient.cpp 95runs ClientCommands.cpp 871

Server commands 44

The server runs these. In F8 you type them like your own commands.

start

Needs rights

Starts one or more resources (the server's script and map packs).

How to type it
start <resource> [<resource> ...]
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.start is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 56 acl.xml 175
MTA's help text
Usage: start <resource1> <resource2> ...
Start a loaded resource eg: start admin
Source (file, line)
added in CMainConfig.cpp 772runs CConsoleCommands.cpp 63

stop

Needs rights

Stops one or more running resources. A protected resource also needs the right command.stop.protected.

How to type it
stop <resource> [<resource> ...]
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.stop is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 57 acl.xml 176
MTA's help text
Usage: stop <resource1> <resource2> ...
Stop a resource eg: stop admin

restart

Needs rights

Restarts one or more running resources. A protected resource also needs the right command.restart.protected.

How to type it
restart <resource> [<resource> ...]
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.restart is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 65 acl.xml 177
MTA's help text
Usage: restart <resource1> <resource2> ...
Restarts a running resource eg: restart admin

refresh

Needs rights

Looks in the server's resources folder for new resources. Add a name to refresh only that resource.

How to type it
refresh
refresh <resource>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.refresh is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 66 acl.xml 183
MTA's help text
Refresh resource list to find new resources

refreshall

Needs rights

Like refresh, and also restarts the resources that changed.

How to type it
refreshall
refreshall <resource>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.refreshall is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 67 acl.xml 184
MTA's help text
Refresh resources and restart any changed resources
Source (file, line)
added in CMainConfig.cpp 778runs CConsoleCommands.cpp 173

list

Server console only

Lists the server's resources and whether each one is running, stopped or failed.

How to type it
list
list running
list stopped
list failed
Who can use it
Server console only (the window of the server program). The code does nothing when a player types it. source: CConsoleCommands.cpp 181
MTA's help text
Shows a list of resources

info

Server console only

Shows details about one resource.

How to type it
info <resource>
Who can use it
Server console only (the window of the server program). The code does nothing when a player types it. source: CConsoleCommands.cpp 195
MTA's help text
Usage: info <resource-name>
Get info for a resource eg: info admin
Source (file, line)
added in CMainConfig.cpp 780runs CConsoleCommands.cpp 195

upgrade

Server console only

Does a basic upgrade of one resource, or of all of them, and then refreshes them.

How to type it
upgrade <resource>
upgrade all
Who can use it
Server console only (the window of the server program). The code does nothing when a player types it. source: CConsoleCommands.cpp 282
MTA's help text
Usage: upgrade [ all | <resource-name> ]
Perform a basic upgrade of all resources.
Source (file, line)
added in CMainConfig.cpp 781runs CConsoleCommands.cpp 282

check

Server console only

Shows which files upgrade would change. It does not change anything.

How to type it
check <resource>
check all
Who can use it
Server console only (the window of the server program). The code does nothing when a player types it. source: CConsoleCommands.cpp 317
MTA's help text
Usage: check [ all | <resource-name> ]
Checks which files would be changed with upgrade command. Does not modify anything.
Source (file, line)
added in CMainConfig.cpp 783runs CConsoleCommands.cpp 317

say

Everyone

Sends a chat message to everyone on the server. Normal chat uses it: your MTA sends what you type in the chat (T) as say.

How to type it
say <text>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: say <text>
Show a message to all players on the server eg: say hello

teamsay

Everyone

Sends a chat message to your team only. Works only when you are on a team. Team chat (Y) uses it.

How to type it
teamsay <text>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: teamsay <test>
Send a message to all players on the same team
Source (file, line)
added in CMainConfig.cpp 787runs CConsoleCommands.cpp 481

msg

Everyone

Sends a private message to one player. You cannot send one to yourself.

How to type it
msg <nick> <text>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: msg <nick> <text>
Send a message to a player eg: msg playername hello
Source (file, line)
added in CMainConfig.cpp 788runs CConsoleCommands.cpp 572

me

Everyone

Shows * YourName text to everyone, as an action.

How to type it
me <text>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: me <text>
Show a message to all players on the server, with your nick prepended
Source (file, line)
added in CMainConfig.cpp 789runs CConsoleCommands.cpp 702

nick

Everyone

Changes your name on the server. It must be 1 to 22 characters and not in use. Type only the new name: MTA's help text shows two names, but the code reads everything after nick as the new name. Your MTA also saves it as your nickname.

How to type it
nick <new-nick>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: nick <old-nick> <new-nick>
Change your ingame nickname

login

Everyone

Logs you in to an account on this server. With only a password, your name is used as the account name. Your MTA does not keep the password in the chat history.

How to type it
login <account> <password>
login <password>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: login <accountname> <password>
Login to an account eg: login accountname password
Source (file, line)
added in CMainConfig.cpp 792runs CConsoleCommands.cpp 862also CChat.cpp 674

logout

Everyone

Logs you out of your account on this server.

How to type it
logout
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Log out of the current account
Source (file, line)
added in CMainConfig.cpp 793runs CConsoleCommands.cpp 902

chgmypass

Everyone

Changes the password of the account you are logged in to. You must be logged in.

How to type it
chgmypass <old-password> <new-password>
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Usage: chgmypass <oldpass> <newpass>
Change your password eg: chgmypass oldpw newpw
Source (file, line)
added in CMainConfig.cpp 794runs CConsoleCommands.cpp 908

addaccount

Needs rights

Makes a new account on the server.

How to type it
addaccount <account> <password>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.addaccount is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 68 acl.xml 188
MTA's help text
Usage: addaccount <accountname> <password>
Add an account eg: addaccount accountname password
Source (file, line)
added in CMainConfig.cpp 796runs CConsoleCommands.cpp 973

delaccount

Needs rights

Deletes an account. A player who is logged in to it is logged out first.

How to type it
delaccount <account>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.delaccount is given to the Admin group, and the server console can use it. source: acl.xml 69 acl.xml 211
MTA's help text
Usage: delaccount <accountname>
Delete an account eg: delaccount accountname
Source (file, line)
added in CMainConfig.cpp 798runs CConsoleCommands.cpp 1037

chgpass

Needs rights

Sets a new password for any account.

How to type it
chgpass <account> <new-password>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.chgpass is given to the Admin group, and the server console can use it. source: acl.xml 71 acl.xml 212
MTA's help text
Usage: chgpass <accountname> <password>
Change an accounts password eg: chgpass account newpw
Source (file, line)
added in CMainConfig.cpp 799runs CConsoleCommands.cpp 1092

shutdown

Needs rights

Shuts the server down. The reason goes into the server log.

How to type it
shutdown
shutdown <reason>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.shutdown is given to the Admin group, and the server console can use it. source: acl.xml 86 acl.xml 199
MTA's help text
Usage: shutdown <reason>
Shutdown the server eg: shutdown put reason here
Source (file, line)
added in CMainConfig.cpp 801runs CConsoleCommands.cpp 1140

aexec

Needs rights

Makes a player run a command, as if that player typed it.

How to type it
aexec <nick> <command>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.aexec is given to the Admin group, and the server console can use it. source: acl.xml 88 acl.xml 201
MTA's help text
Usage: aexec <nick> <command>
Force a player to execute a command eg: aexec playername say hello
Source (file, line)
added in CMainConfig.cpp 803runs CConsoleCommands.cpp 1171

whois

Needs rights

Shows the IP address and port of a player. Use * to show every player.

How to type it
whois <nick>
whois *
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.whois is given to the Moderator, SuperModerator and Admin groups, and the server console can use it. source: acl.xml 89 acl.xml 158
MTA's help text
Usage: whois <nick>
Get the IP of a player currently connected (use whowas for IP/serial/version)
Source (file, line)
added in CMainConfig.cpp 806runs CConsoleCommands.cpp 1224

debugscript

Needs rights

Opens the script debug window for you: 0 off, 1 errors, 2 errors and warnings, 3 everything. It works only for a player in the game, not in the server console.

How to type it
debugscript <0-3>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.debugscript is given to the Admin group, and the server console can use it. source: acl.xml 70 acl.xml 202
MTA's help text
Usage: debugscript <0-3>
Remove (This does not work 'Incorrect client type for this command')
Source (file, line)
added in CMainConfig.cpp 809runs CConsoleCommands.cpp 1279

help

Server console only

Lists the server's commands. Add a command name to see its help text.

How to type it
help
help <command>
Who can use it
Server console only in practice: when you type help in F8, your MTA runs its own help command instead. source: CCore.cpp 1500
MTA's help text
MTA has no help text for this one.
Source (file, line)
added in CMainConfig.cpp 812runs CConsoleCommands.cpp 1326

loadmodule

Needs rights

Loads a server module from the modules folder.

How to type it
loadmodule <module-file>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.loadmodule is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 72 acl.xml 185
MTA's help text
Usage: loadmodule <module-filename>
Load a module eg: loadmodule ml_sockets.dll
Source (file, line)
added in CMainConfig.cpp 814runs CConsoleCommands.cpp 1387

unloadmodule

Needs rights

Unloads a server module.

How to type it
unloadmodule <module-file>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.unloadmodule is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 73 acl.xml 186
MTA's help text
Usage: unloadmodule <module-filename>
Unload a module eg: unloadmodule ml_sockets.dll
Source (file, line)
added in CMainConfig.cpp 815runs CConsoleCommands.cpp 1462

reloadmodule

Needs rights

Unloads a server module and loads it again.

How to type it
reloadmodule <module-file>
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.reloadmodule is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 74 acl.xml 187
MTA's help text
Usage: reloadmodule <module-filename>
Reload a module eg: reloadmodule ml_sockets.dll
Source (file, line)
added in CMainConfig.cpp 817runs CConsoleCommands.cpp 1482

ver

Server console only

Shows the server's MTA version.

How to type it
ver
Who can use it
Server console only in practice: when you type ver in F8, your MTA runs its own ver command instead. source: CCore.cpp 1503
MTA's help text
Get the MTA version
Source (file, line)
added in CMainConfig.cpp 820runs CConsoleCommands.cpp 1551

sver

Everyone

Shows the server's MTA version. Use this one in F8: there, ver shows the version of your own MTA.

How to type it
sver
Who can use it
Everyone, unless the server changes its rights. MTA's default acl.xml does not block it. source: CConsole.cpp 69
MTA's help text
Get the server MTA version
Source (file, line)
added in CMainConfig.cpp 821runs CConsoleCommands.cpp 1551

ase

Server console only

Shows how many server list queries (ASE queries) the server has answered.

How to type it
ase
Who can use it
Server console only (the window of the server program). The code does nothing when a player types it. source: CConsoleCommands.cpp 1557
MTA's help text
See the amount of master server list queries
Source (file, line)
added in CMainConfig.cpp 822runs CConsoleCommands.cpp 1557also ASE.cpp 204

openports

Server console only

Tests if the server's ports are open.

How to type it
openports
Who can use it
Server console only (the window of the server program). The code does nothing when a player types it. source: CConsoleCommands.cpp 1569
MTA's help text
Test if server ports are open
Source (file, line)
added in CMainConfig.cpp 823runs CConsoleCommands.cpp 1569

debugdb

Needs rights

Sets how much the server logs about database work: 0 off, 1 errors only, 2 all queries.

How to type it
debugdb <0-2>
Who can use it
Needs the right command.debugdb. MTA's default acl.xml gives it to no group, so only the server console can use it until the server adds that right. source: CConsoleCommands.cpp 1587
MTA's help text
Usage: debugdb <0-2>
Set logging level for database functions. [0-Off 1-Errors only 2-All]
Source (file, line)
added in CMainConfig.cpp 825runs CConsoleCommands.cpp 1587

reloadbans

Needs rights

Reads the ban list file (banlist.xml) again.

How to type it
reloadbans
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.reloadbans is given to the SuperModerator and Admin groups, and the server console can use it. source: acl.xml 85 acl.xml 182
MTA's help text
Reloads all the bans from banlist.xml.
Source (file, line)
added in CMainConfig.cpp 828runs CConsoleCommands.cpp 1376

aclrequest

Needs rights

Shows, allows or denies the rights that resources ask for in their meta.xml.

How to type it
aclrequest list
aclrequest list <resource>
aclrequest allow <resource> <right>|all
aclrequest deny <resource> <right>|all
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.aclrequest is given to the Admin group, and the server console can use it. source: acl.xml 91 acl.xml 207 CConsoleCommands.cpp 1676
MTA's help text
Usage: aclrequest [ list | allow | deny ] <resource-name> [ <right> | all ]
Manage ACL requests from resources implementing <aclrequest> in their meta.xml
Source (file, line)
added in CMainConfig.cpp 830runs CConsoleCommands.cpp 1676

authserial

Needs rights

Manages serial checks for an account. With only the account name it allows the serial that is waiting. list shows the serials used, removelast removes the newest one, httppass makes a new 7-digit number for web (HTTP) logins.

How to type it
authserial <account>
authserial <account> list
authserial <account> removelast
authserial <account> httppass
Who can use it
Needs rights (the ACL). In MTA's default acl.xml the right command.authserial is given to the Admin group, and the server console can use it. source: acl.xml 92 acl.xml 208 CConsoleCommands.cpp 1684
MTA's help text
Usage: authserial <account-name> [list|removelast|httppass]
Manage serial authentication for an account.
Source (file, line)
added in CMainConfig.cpp 833runs CConsoleCommands.cpp 1684

debugjoinflood

Needs rights

Shows debug information about the protection against join floods (many joins in a short time).

How to type it
debugjoinflood
Who can use it
Needs the right command.debugjoinflood. MTA's default acl.xml gives it to no group, so only the server console can use it until the server adds that right. source: CConsoleCommands.cpp 1875
MTA's help text
Shows debug information regarding the join flood mitigation feature.
Source (file, line)
added in CMainConfig.cpp 836runs CConsoleCommands.cpp 1875

debuguptime

Needs rights

For testing: moves the server's clock (tick count) forward by 0 to 10 days. MTA's help text says it shows the uptime, but the code moves the clock forward.

How to type it
debuguptime <days>
Who can use it
Needs the right command.debuguptime. MTA's default acl.xml gives it to no group, so only the server console can use it until the server adds that right. source: CConsoleCommands.cpp 1899
MTA's help text
Shows how many days the server has been up and running.
Source (file, line)
added in CMainConfig.cpp 837runs CConsoleCommands.cpp 1899

sfakelag

Needs rights

For testing: adds fake packet loss, ping, ping changes and a speed limit to the server's connections. It works only if it is turned on in mtaserver.conf.

How to type it
sfakelag <packet-loss> <extra-ping> <ping-variance> [<KBPS-limit>]
Who can use it
Needs the right command.sfakelag. MTA's default acl.xml gives it to no group, so only the server console can use it until the server adds that right. source: CConsoleCommands.cpp 1834
MTA's help text
Usage: sfakelag <packet loss> <extra ping> <ping variance> [<KBPS limit>]
Only available if enabled in the mtaserver.conf file.
Adds artificial packet loss, ping, jitter and bandwidth limits to the server-client connections.
Source (file, line)
added in CMainConfig.cpp 838runs CConsoleCommands.cpp 1834

quit

Server console only

In the server console: closes the server. Same as exit.

How to type it
quit
Who can use it
Only in the server console (the window of the server program). The server checks this word before its command list, so MTA has no help text for it. source: CServerImpl.cpp 816
MTA's help text
MTA has no help text for this one.
Source (file, line)
added in CServerImpl.cpp 816

exit

Server console only

In the server console: closes the server. Same as quit.

How to type it
exit
Who can use it
Only in the server console (the window of the server program). The server checks this word before its command list, so MTA has no help text for it. source: CServerImpl.cpp 816
MTA's help text
MTA has no help text for this one.
Source (file, line)
added in CServerImpl.cpp 816

reset

Server console only

In the server console: stops the server and starts it again.

How to type it
reset
Who can use it
Only in the server console (the window of the server program). The server checks this word before its command list, so MTA has no help text for it. source: CServerImpl.cpp 824
MTA's help text
MTA has no help text for this one.
Source (file, line)
added in CServerImpl.cpp 824also Server.cpp 64

Where this comes from

Every command, its help text and what it does come from MTA:SA's source code: multitheftauto/mtasa-blue, commit af31802 of 21 October 2026. Each command links to the line where MTA adds it and to the code that runs it. MTA can change in a newer version. If the game shows something different, the game is right.

Left out: 21 commands that are switched off, only in debug builds, or tests with no help text
  • e Commented out in the code: not in MTA. CCore.cpp 1498
  • clear Commented out in the code: not in MTA. CCore.cpp 1499
  • vid Switched off in the code (#if 0): not in MTA. CCore.cpp 1510
  • window Switched off in the code (#if 0): not in MTA. CCore.cpp 1511
  • load Switched off in the code (#if 0): not in MTA. CCore.cpp 1512
  • unload Switched off in the code (#if 0): not in MTA. CCore.cpp 1513
  • test Test command with no help text: it shows crash statistics and can crash MTA on purpose. CCore.cpp 1530
  • jinglebells Joke or test command with no help text: it only prints a line. CCore.cpp 1533
  • fakelag Network test command with no help text; it works only when MTA has it turned on. CCore.cpp 1534
  • showsync Only in debug builds (MTA_DEBUG): not in normal MTA. CClient.cpp 98
  • dumpall Commented out in the code: not in MTA. CClient.cpp 99
  • showsyncing Only in debug builds or when MTA_BETA is set (no build script sets it): not in normal MTA. CClient.cpp 104
  • showwepdata Only in a special weapon-sync debug build (MTA_WEPSYNCDBG): not in normal MTA. Also: Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 108 CClient.cpp 112
  • showtasks Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 113
  • showplayer Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 114
  • setmimic Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 115
  • setmimiclag Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 116
  • paintballs Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 117
  • giveweapon Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 118
  • showrpcs Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 119
  • showinterpolation Only in debug builds (MTA_DEBUG or MTA_DEBUG_COMMANDS): not in normal MTA. CClient.cpp 120