MTA Commands: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= | = MTA Commands = | ||
'''MTA Commands''' are the standard client-side and console-related commands used in '''MTA:SA''', separate from CIT's server-specific command list. | |||
This page covers the MTA and client-side commands that are individually described on this wiki, and how to view the wider built-in MTA command list in game. | |||
== Overview == | |||
MTA commands are different from normal CIT commands. | |||
In general: | |||
* | * CIT commands are usually typed in chat with <code>/</code> | ||
* | * MTA console commands are viewed and used through <code>F8</code> | ||
* standard client controls are mainly managed from <code>ESC > Settings</code> | |||
== How to view MTA commands == | |||
To view the MTA command list: | |||
# press <code>F8</code> | |||
# type <code>help</code> | |||
# press <code>Enter</code> | |||
In the <code>F8</code> console, commands are typed without <code>/</code>. | |||
== | == MTA commands vs CIT commands == | ||
* | Use: | ||
* <code>/help</code> to open the CIT command list GUI | |||
* <code>F8</code> then <code>help</code> to view MTA commands | |||
Standard client settings are changed in: | |||
* <code>ESC > Settings</code> | |||
CIT-specific settings are changed in: | |||
* <code>/settings</code> | |||
== Bind-related commands == | |||
The standard bind system can still be used for bindable commands. | |||
To create a bind: | |||
<code>/bind <key> <command></code> | |||
If you want the chatbox to open with a command ready to type, use: | |||
<code>/bind <key> chatbox <command></code> | |||
Examples: | |||
* <code>/bind i chatbox gc</code> | |||
* <code>/bind 5 gc Hello!</code> | |||
To check [[binds]] on a key: | |||
<code>/binds <key></code> | |||
To remove one bind from a key: | |||
<code>/unbind <key> <command></code> | |||
To remove all binds from a key: | |||
<code>/unbind <key></code> | |||
=== Chatbox shortcut binds === | |||
Common chatbox shortcuts used with: | |||
<code>/bind <key> chatbox <shortcut></code> | |||
include: | |||
* <code>localchat</code> | |||
* <code>locf</code> | |||
* <code>main</code> | |||
* <code>fmsg</code> | |||
* <code>gc</code> | |||
* <code>sc</code> | |||
* <code>uc</code> | |||
* <code>cc</code> | |||
* <code>groupnote</code> | |||
* <code>ac</code> | |||
* <code>e</code> | |||
* <code>sup</code> | |||
* <code>td</code> | |||
== Client utility commands == | |||
=== /serial === | |||
Use: | |||
<code>/serial</code> | |||
to see your PC serial in MTA. | |||
=== /reconnect === | |||
Use: | |||
<code>/reconnect</code> | |||
to reconnect. It is also used in the password recovery flow. | |||
== Changing standard controls == | |||
Standard MTA controls like: | |||
* movement | |||
* mouse controls | |||
* joypad controls | |||
* multiplayer client controls | |||
should still be changed in: | |||
<code>ESC > Settings > Binds</code> | |||
If a CIT script key gets unbound by mistake, reconnecting resets binds to default, and you can also fix standard controls there. | |||
== Command list == | |||
{| class="wikitable" | {| class="wikitable" | ||
! | ! Command | ||
! | ! Where it is used | ||
! What it does | |||
|- | |- | ||
| | | <code>help</code> | ||
| | | <code>F8</code> console | ||
| Shows the MTA command list. In <code>F8</code>, commands are typed without <code>/</code>. | |||
|- | |- | ||
| | | <code>/serial</code> | ||
| | | Chat | ||
| Shows your PC serial in MTA. | |||
|- | |- | ||
| | | <code>/reconnect</code> | ||
| | | Chat | ||
| Reconnects you and can be used during password recovery. | |||
|- | |- | ||
| | | <code>/bind <key> <command></code> | ||
| | | Chat | ||
| Binds a key to run a command directly. | |||
|- | |- | ||
| | | <code>/bind <key> chatbox <command></code> | ||
| | | Chat | ||
| Binds a key to open the chatbox with a command ready to type. | |||
|- | |- | ||
| | | <code>/binds <key></code> | ||
| | | Chat | ||
| Shows the binds currently set on that key. | |||
|- | |- | ||
| | | <code>/unbind <key> <command></code> | ||
| | | Chat | ||
| Removes one bind from that key. | |||
|- | |- | ||
| | | <code>/unbind <key></code> | ||
| Chat | |||
| Removes all binds from that key. | |||
| | |||
| | |||
|} | |} | ||
== Notes == | |||
* The full built-in MTA command list is viewed from <code>F8</code> with <code>help</code>. | |||
* This page only lists the individual MTA and client-side commands that are separately described here. | |||
* Standard client settings and controls belong in <code>ESC > Settings</code>, not in <code>/settings</code>. | |||
== See also == | |||
* [[MTA Settings]] | |||
* [[CIT Commands]] | |||
* [[CIT Settings]] | |||
* [[Chat Commands]] | |||
* [[Commands]] | |||
Revision as of 23:14, 16 April 2026
MTA Commands
MTA Commands are the standard client-side and console-related commands used in MTA:SA, separate from CIT's server-specific command list.
This page covers the MTA and client-side commands that are individually described on this wiki, and how to view the wider built-in MTA command list in game.
Overview
MTA commands are different from normal CIT commands.
In general:
- CIT commands are usually typed in chat with
/ - MTA console commands are viewed and used through
F8 - standard client controls are mainly managed from
ESC > Settings
How to view MTA commands
To view the MTA command list:
- press
F8 - type
help - press
Enter
In the F8 console, commands are typed without /.
MTA commands vs CIT commands
Use:
/helpto open the CIT command list GUIF8thenhelpto view MTA commands
Standard client settings are changed in:
ESC > Settings
CIT-specific settings are changed in:
/settings
The standard bind system can still be used for bindable commands.
To create a bind:
/bind <key> <command>
If you want the chatbox to open with a command ready to type, use:
/bind <key> chatbox <command>
Examples:
/bind i chatbox gc/bind 5 gc Hello!
To check binds on a key:
/binds <key>
To remove one bind from a key:
/unbind <key> <command>
To remove all binds from a key:
/unbind <key>
Chatbox shortcut binds
Common chatbox shortcuts used with:
/bind <key> chatbox <shortcut>
include:
localchatlocfmainfmsggcscucccgroupnoteacesuptd
Client utility commands
/serial
Use:
/serial
to see your PC serial in MTA.
/reconnect
Use:
/reconnect
to reconnect. It is also used in the password recovery flow.
Changing standard controls
Standard MTA controls like:
- movement
- mouse controls
- joypad controls
- multiplayer client controls
should still be changed in:
ESC > Settings > Binds
If a CIT script key gets unbound by mistake, reconnecting resets binds to default, and you can also fix standard controls there.
Command list
| Command | Where it is used | What it does |
|---|---|---|
help
|
F8 console
|
Shows the MTA command list. In F8, commands are typed without /.
|
/serial
|
Chat | Shows your PC serial in MTA. |
/reconnect
|
Chat | Reconnects you and can be used during password recovery. |
/bind <key> <command>
|
Chat | Binds a key to run a command directly. |
/bind <key> chatbox <command>
|
Chat | Binds a key to open the chatbox with a command ready to type. |
/binds <key>
|
Chat | Shows the binds currently set on that key. |
/unbind <key> <command>
|
Chat | Removes one bind from that key. |
/unbind <key>
|
Chat | Removes all binds from that key. |
Notes
- The full built-in MTA command list is viewed from
F8withhelp. - This page only lists the individual MTA and client-side commands that are separately described here.
- Standard client settings and controls belong in
ESC > Settings, not in/settings.