Jump to content

MTA Commands

From CIT Wiki

Useful MTA Commands

To view a list of available MTA commands, press the ` key or F8 to open the console, then type help and press Enter.

Below is a list of some useful MTA commands along with their explanations:


/bind

  • Usage: /bind <key> [up/down] <command> <arguments>
  • The /bind command is used to bind a specific action to a keyboard key. Here's how it works:
    • <key>: Represents the keyboard key you want to bind, e.g., P.
    • [up/down]: Specifies the state of the key. Up means the action happens when the key is released, and Down means the action happens when the key is pressed down. This part is optional.
    • <command>: The MTA command you want to bind to the key. For example, chatbox will open the chatbox.
    • <arguments>: Information or text that will be entered into the command. For example, /localchat Hello will input "Hello" when used with the /bind command. Example:
    • /bind 5 chatbox gc will open the /gc command for you to type when you press 5.
    • /bind 5 gc Hello! will automatically send /gc Hello! when you press 5.

/unbind <key> <command>

  • Usage: /unbind <key> <command>
  • Removes a previously set bind. If no command is specified, it will unbind all commands associated with the given key.

/showchat

  • Usage: /showchat
  • Hides the chatbox. To bring it back, open F8 (console) and type showchat.

/serial

  • Usage: /serial
  • Displays your PC serial in the console panel. This is helpful for debugging or identifying your computer's unique identifier.

Full List

Command Description
help Displays the help screen.
exit Exits the application.
quit Exits the application.
ver Shows the version of MTA.
time Displays the current in-game time.
showhud Toggles the HUD (Heads-Up Display).
binds Shows all the keybinds you have set.
serial Displays your PC serial in the console.
connect Connects to a server (host port nick pass).
reconnect Reconnects to the previous server.
bind Binds a key to a specific command.
unbind Unbinds a key from a command.
copygtacontrols Copies the default GTA controls to your config.
screenshot Takes a screenshot and saves it.
saveconfig Immediately saves your current configuration.
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 Placeholder for a test command.
showmemstat Displays memory statistics.
showframegraph Displays the frame timing graph.
jinglebells (Fun/Optional) Plays a jingle sound.
fakelag (For testing purposes) Applies lag to the player.
reloadnews For developers: reload news on the server.
disconnect Disconnects from the game.
shownametags Displays name tags for players.
showchat Shows the chatbox.
shownetstat Displays network statistics.
chatbox Opens the chat input box.
voiceptt Transmits voice to other players.
enter_passenger Enters a vehicle as a passenger.
radio_next Switches to the next radio channel.
radio_previous Switches to the previous radio channel.
radar Toggles 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 to the screen.
radar_opacity_down Decreases player-map opacity.
radar_opacity_up Increases player-map opacity.
radar_help Toggles player-map help text.
msg_target Sends a message to the targeted 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 Displays information about the current server.
textscale Defines the scale multiplier for all text displays.
showcol (Development mode) Displays the colshapes in the game.
showsound (Development mode) Prints world sound IDs into the debug window.