Jump to content

Auto Bind Keys


Recommended Posts

The default keys like T, Y, U, and B are auto-bound by the MTA client for chat commands You can change them using a clientside script first unbind the key then bind it to your radio command For example :

 

-- Unbind the default team chat key
unbindKey("t", "down")

-- Bind T key to run your radio command
bindKey("t", "down", function()
    executeCommandHandler("radio")
end)

 

You can do the same for Y, U, B, etc. This will override the default chat binds on your server while players are connected

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...