Jump to content

Search the Community

Showing results for tags 'unbindkey'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 2 results

  1. I have been trying to bindkeys to a command clientside and save them inside a xml file. But the mta binding cache is stacking up. Keys: 'x', 'u', 'x' See screenshot bellow. The problem shows up when you edit the bindkey in the settings menu and load the xml file after saving it. To use the bindkeys, you have to bind it with any key on your keyboard. To know which bindkeys are bound to a command with your previous visit, you have to bind any key of your keyboard to that command in order to use: getBoundKeys / getKeyBoundToCommand If you use unbindKey, it will unbind the command for all other keys, but not remove it from the cache. And another problem, I can't remove keys/'alternative keys' from the cache unless I click on the 'Load defaults button on the right bottom'. This is the code I have been testing with:
  2. I've been working with binding keys quite a lot, but this is currently destroying my brain. Lots of other people have been walking against this problem and I'm trying to find a solution, it can't be that hard! My setup is as following: User gets a UI -> fills in a key to bind a chat to -> using triggerServerEvent to bind the key for the user + some sql saving After a successful attempt of saving the new button for the user, I'm trying to unbind the key from the chatbox-styled function isn't unbinding. If I'm simply unbinding it with runcode directly in runtime, it's returning a true but it's not unbinding. I've seen several reports about this on the bugtracker but none of them were taken note off. Is there a work around or should I simply ask my users to use a MTA-based command to unbind their keys? thanks in advance.
×
×
  • Create New...