Jump to content

Unbind a default MTA control


Recommended Posts

Howdy :3

I'm currently working on a speedometer that has a nitro gague, which starts to deplete when you press CTRL or left mouse button (like set as default). My problem is that ALT is bound as the secondary control for firing a vehicle weapon which will also start nitro, which proves to be a bug if someone Alt+tabs out of the game, because nitro will then automatically start whenever available, and my script won't detect that.

So, is there a way to unbind the ALT key? I've tried with unbindKey("lalt"), but it returns false.

Any other way of preventing nitro to start with ALT key is good too ;)

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...