MTA Commands: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= MTA Commands = | = MTA Commands = | ||
'''MTA Commands''' are | '''MTA Commands''' are the built-in client and console commands in '''MTA:SA'''. They are separate from CIT server commands. | ||
This page lists the MTA | This page lists the commands shown by the in-game MTA console help screen. | ||
== Overview == | == Overview == | ||
To view | To view the MTA command list: | ||
# press <code>`</code> or <code>F8</code> to open the console | |||
# type <code>help</code> | |||
# press <code>Enter</code> | |||
These console commands are typed in the console. | |||
== Command | == Command List == | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 20: | Line 22: | ||
|- | |- | ||
| <code>help</code> | | <code>help</code> | ||
| Shows the | | Shows the help screen | ||
|- | |||
| <code>exit</code> | |||
| Exits the application | |||
|- | |||
| <code>quit</code> | |||
| Exits the application | |||
|- | |||
| <code>ver</code> | |||
| Shows the version | |||
|- | |||
| <code>time</code> | |||
| Shows the time | |||
|- | |||
| <code>showhud</code> | |||
| Shows the HUD | |||
|- | |||
| <code>binds</code> | |||
| Shows all the [[binds]] | |||
|- | |||
| <code>serial</code> | |||
| Shows your serial | |||
|- | |- | ||
| <code> | | <code>connect</code> | ||
| | | Connects to a server | ||
|- | |- | ||
| <code> | | <code>reconnect</code> | ||
| | | Connects to a previous server | ||
|- | |- | ||
| <code> | | <code>bind</code> | ||
| | | Binds a key | ||
|- | |- | ||
| <code>/ | | <code>unbind</code> | ||
| Shows | | Unbinds a key | ||
|- | |||
| <code>copygtacontrols</code> | |||
| Copies the default GTA controls | |||
|- | |||
| <code>screenshot</code> | |||
| Outputs a screenshot | |||
|- | |||
| <code>saveconfig</code> | |||
| Immediately saves the config | |||
|- | |||
| <code>cleardebug</code> | |||
| Clears the debug view | |||
|- | |||
| <code>chatscrollup</code> | |||
| Scrolls the chatbox upwards | |||
|- | |||
| <code>chatscrolldown</code> | |||
| Scrolls the chatbox downwards | |||
|- | |||
| <code>debugscrollup</code> | |||
| Scrolls the debug view upwards | |||
|- | |||
| <code>debugscrolldown</code> | |||
| Scrolls the debug view downwards | |||
|- | |||
| <code>test</code> | |||
| | |||
|- | |||
| <code>showmemstat</code> | |||
| Shows the memory statistics | |||
|- | |||
| <code>showframegraph</code> | |||
| Shows the frame timing graph | |||
|- | |||
| <code>jinglebells</code> | |||
| | |||
|- | |||
| <code>fakelag</code> | |||
| | |||
|- | |||
| <code>reloadnews</code> | |||
| For developers: reload news | |||
|- | |||
| <code>disconnect</code> | |||
| Disconnects from the game | |||
|- | |||
| <code>shownametags</code> | |||
| Shows the nametags | |||
|- | |||
| <code>showchat</code> | |||
| Shows the chatbox | |||
|- | |||
| <code>shownetstat</code> | |||
| Shows the network statistics | |||
|- | |||
| <code>chatbox</code> | |||
| Opens the chat input | |||
|- | |||
| <code>voiceptt</code> | |||
| Transmits voice to other players | |||
|- | |||
| <code>enter_passenger</code> | |||
| Enters a car as passenger | |||
|- | |||
| <code>radio_next</code> | |||
| Changes to the next radio channel | |||
|- | |||
| <code>radio_previous</code> | |||
| Changes to the previous radio channel | |||
|- | |||
| <code>radar</code> | |||
| Enables the player-map view | |||
|- | |||
| <code>radar_zoom_in</code> | |||
| Zooms the player-map in | |||
|- | |||
| <code>radar_zoom_out</code> | |||
| Zooms the player-map out | |||
|- | |||
| <code>radar_move_north</code> | |||
| Moves the player-map north | |||
|- | |||
| <code>radar_move_south</code> | |||
| Moves the player-map south | |||
|- | |||
| <code>radar_move_east</code> | |||
| Moves the player-map east | |||
|- | |||
| <code>radar_move_west</code> | |||
| Moves the player-map west | |||
|- | |||
| <code>radar_attach</code> | |||
| Attaches the player-map | |||
|- | |||
| <code>radar_opacity_down</code> | |||
| Reduces player-map opacity | |||
|- | |||
| <code>radar_opacity_up</code> | |||
| Increases player-map opacity | |||
|- | |||
| <code>radar_help</code> | |||
| Toggles player-map help text | |||
|- | |||
| <code>msg_target</code> | |||
| Sends a message to the targetted player | |||
|- | |||
| <code>vehicle_next_weapon</code> | |||
| Changes to the next weapon while in a [[vehicle]] | |||
|- | |||
| <code>vehicle_previous_weapon</code> | |||
| Changes to the previous weapon while in a vehicle | |||
|- | |||
| <code>sinfo</code> | |||
| Outputs info about the current server | |||
|- | |||
| <code>textscale</code> | |||
| Defines the scale multiplier of all text displays | |||
|- | |||
| <code>showcol</code> | |||
| Development mode: shows the colshapes | |||
|- | |||
| <code>showsound</code> | |||
| Development mode: prints world sound IDs into the debug window | |||
|} | |} | ||
== | == Syntax Notes == | ||
The help screen also shows extra syntax for some commands: | |||
{| class="wikitable" | |||
! Command | |||
! Syntax shown | |||
|- | |||
| <code>connect</code> | |||
| <code>connect (host port nick pass)</code> | |||
|- | |||
| <code>bind</code> | |||
| <code>bind (key control)</code> | |||
|- | |||
| <code>unbind</code> | |||
| <code>unbind (key)</code> | |||
|} | |||
<code> | |||
<code> | |||
== Notes == | == Notes == | ||
* MTA | * These are the commands shown by the MTA console help screen. | ||
* | * They are separate from CIT server commands. | ||
* Commands on this page are viewed through <code>F8</code> or <code>`</code>. | |||
== See also == | == See also == | ||
| Line 148: | Line 209: | ||
* [[MTA Settings]] | * [[MTA Settings]] | ||
* [[CIT Commands]] | * [[CIT Commands]] | ||
* [[Commands]] | |||
* [[Chat Commands]] | * [[Chat Commands]] | ||
Revision as of 23:18, 16 April 2026
MTA Commands
MTA Commands are the built-in client and console commands in MTA:SA. They are separate from CIT server commands.
This page lists the commands shown by the in-game MTA console help screen.
Overview
To view the MTA command list:
- press
`orF8to open the console - type
help - press
Enter
These console commands are typed in the console.
Command List
| Command | What it does |
|---|---|
help
|
Shows the help screen |
exit
|
Exits the application |
quit
|
Exits the application |
ver
|
Shows the version |
time
|
Shows the time |
showhud
|
Shows the HUD |
binds
|
Shows all the binds |
serial
|
Shows your serial |
connect
|
Connects to a server |
reconnect
|
Connects to a previous server |
bind
|
Binds a key |
unbind
|
Unbinds a key |
copygtacontrols
|
Copies the default GTA controls |
screenshot
|
Outputs a screenshot |
saveconfig
|
Immediately saves the config |
cleardebug
|
Clears the debug view |
chatscrollup
|
Scrolls the chatbox upwards |
chatscrolldown
|
Scrolls the chatbox downwards |
debugscrollup
|
Scrolls the debug view upwards |
debugscrolldown
|
Scrolls the debug view downwards |
test
|
|
showmemstat
|
Shows the memory statistics |
showframegraph
|
Shows the frame timing graph |
jinglebells
|
|
fakelag
|
|
reloadnews
|
For developers: reload news |
disconnect
|
Disconnects from the game |
shownametags
|
Shows the nametags |
showchat
|
Shows the chatbox |
shownetstat
|
Shows the network statistics |
chatbox
|
Opens the chat input |
voiceptt
|
Transmits voice to other players |
enter_passenger
|
Enters a car as passenger |
radio_next
|
Changes to the next radio channel |
radio_previous
|
Changes to the previous radio channel |
radar
|
Enables the player-map view |
radar_zoom_in
|
Zooms the player-map in |
radar_zoom_out
|
Zooms the player-map out |
radar_move_north
|
Moves the player-map north |
radar_move_south
|
Moves the player-map south |
radar_move_east
|
Moves the player-map east |
radar_move_west
|
Moves the player-map west |
radar_attach
|
Attaches the player-map |
radar_opacity_down
|
Reduces player-map opacity |
radar_opacity_up
|
Increases player-map opacity |
radar_help
|
Toggles player-map help text |
msg_target
|
Sends a message to the targetted player |
vehicle_next_weapon
|
Changes to the next weapon while in a vehicle |
vehicle_previous_weapon
|
Changes to the previous weapon while in a vehicle |
sinfo
|
Outputs info about the current server |
textscale
|
Defines the scale multiplier of all text displays |
showcol
|
Development mode: shows the colshapes |
showsound
|
Development mode: prints world sound IDs into the debug window |
Syntax Notes
The help screen also shows extra syntax for some commands:
| Command | Syntax shown |
|---|---|
connect
|
connect (host port nick pass)
|
bind
|
bind (key control)
|
unbind
|
unbind (key)
|
Notes
- These are the commands shown by the MTA console help screen.
- They are separate from CIT server commands.
- Commands on this page are viewed through
F8or`.