Jump to content

Binds: Difference between revisions

From CIT Wiki
oldwiki>Jarrah
m 1 revision imported: Clean reupload
 
m 1 revision imported: Clean reupload
 
(No difference)

Latest revision as of 15:16, 6 May 2026


Binds

Binds let you assign keys to commands in CIT, and they can also be changed through the MTA Binds tab.

Bind Systems

CIT has two main bind systems:

  • CIT command binds, which use /bind
  • MTA key bindings, which are changed from the Binds tab in settings

CIT Command Binds

CIT command binds let you attach a command to a key.

Use:

  • /bind <key> <command>

This makes the command run directly when you press that key.

Chatbox Binds

You can also make a key open the chatbox with a command already prepared.

Use:

  • /bind <key> chatbox <command>

This does not send the message right away. It opens the chatbox with the command ready to type.

Example

Example chatbox bind:

  • /bind i chatbox gc

This opens Group Chat on I.

Direct Message Binds

You can also bind a key to instantly send a full message.

Example:

  • /bind 5 gc Hello!

This sends that exact Group Chat message when you press 5.

Common Chatbox Shortcuts

Common chatbox shortcuts include:

  • gc
  • sc
  • uc
  • main
  • sup
  • fmsg
  • locf

How to check a bind

To check what is bound to a key, use:

  • /binds <key>

How to remove binds

To remove one bind from a key, use:

  • /unbind <key> <command>

To remove all binds from a key, use:

  • /unbind <key>

CIT Settings Binds Tab

CIT also has a Binds tab in Settings for CIT script binds.

You can open that tab directly with:

  • /sbinds

That tab supports:

Bind editing details:

  • double click a bind with LMB to set Key 1
  • double click a bind with RMB to set Key 2
  • the tab shows Key 2 when an alternative key is set
  • if both primary and secondary binds are the same, they fall back to Key 1

MTA Binds Tab

The Binds tab in MTA settings is where you change keyboard, mouse, and controller bindings for MTA actions.

Key and Alt. Key

In the MTA Binds tab:

  • Key is the main bind for an action
  • Alt. Key columns are additional keys for the same action

You can bind more than one key to the same action there.

Load defaults

In the MTA Binds tab, Load defaults resets the bind list to the default MTA key bindings.

Bind Rules

  • /bind is for CIT command binds.
  • /bind <key> chatbox <command> opens the chatbox with a command ready.
  • /binds <key> checks the binds on a key.
  • /sbinds opens the Binds tab directly.
  • /unbind <key> <command> removes one bind.
  • /unbind <key> removes all binds on a key.
  • Sprint cannot be bound to the same key as aim or fire. Using that bind disables your controls.
  • MTA also has its own Binds tab for normal action keys.

See also