Jump to content

MTA Commands

From CIT Wiki
Revision as of 23:16, 16 April 2026 by Jarrah (talk | contribs)

MTA Commands

MTA Commands are standard client and console commands used in MTA:SA. They are separate from CIT server commands.

This page lists the MTA commands documented here and explains how to use them.

Overview

To view a list of MTA commands:

  • press ` or F8 to open the console
  • type help
  • press Enter

Command list

Command What it does
help Shows the MTA command list in the console
/bind Binds a key to a command
/unbind <key> [command] Removes a bind from a key, or all binds from that key
/showchat Hides the chatbox, and can also be used to show it again
/serial Shows your PC serial in the console panel

Viewing MTA commands

To view the built-in MTA command list:

  1. press ` or F8
  2. type help
  3. press Enter

/bind

The overall usage of /bind is:

/bind <key> [up/down] <command> <further arguments to be input>

Parts of /bind

  • Key is your keyboard key, such as P
  • Up and down are the key states
  • Command is the command you want to run
  • Arguments are the extra values passed into that command

Key state

The optional key state values are:

  • up
  • down

Meaning:

  • up means the bind triggers once the key goes up
  • down means the bind triggers once the key goes down

This is usually not required and is normally skipped.

Arguments

Arguments pass information into the command.

Example:

  • if you use /localchat Hello, then Hello is the first argument

Using chatbox with /bind

Add chatbox only when you want to type something yourself after opening the chatbox.

Example:

/bind 5 chatbox gc

When you press 5:

  • it opens the chatbox
  • it opens the /gc command ready for you to type

Anything after gc is not taken into account when using the chatbox command.

Sending a command directly

You can also use /bind to directly send a message or run a full command.

Example:

/bind 5 gc Hello!

When you press 5, it automatically triggers:

/gc Hello!

/unbind

Usage:

/unbind <key> [command]

This removes a previously chosen bind.

If command is not specified:

  • all binds on that key are removed

/showchat

Usage:

/showchat

This hides the chatbox.

To bring the chatbox back:

  • open F8
  • type showchat

/serial

Usage:

/serial

This shows your PC serial at the console panel from F8.

Notes

  • MTA commands are separate from CIT commands
  • the console command list is viewed with help
  • the commands above are the documented MTA commands listed here

See also