Search the Community

Showing results for tags 'escape'.



More search options

  • 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
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 1 result

  1. Hello guys, I tried to bind escape to my function in 2 ways. (the function is working tried with other buttons) The first was bindKey but when I use it its not binding escape but all other buttons. When I use the event onClientKey escape is working but not correctly. When I press it the first time its working but when I press it the second time its not working. (so its not working when the player is in the menu) (btw its a AFK system I made) this way is not working: bindKey ( "escape", "down", function ) this was isnt working correctly (this is what I found on wiki: Note: the escape key can only be cancelled once. If a user presses the escape key twice in a row the main menu will still open. ): function pressDown (button, press) if button == "escape" then if press then -- when the button is pressed down (true) function() end end end addEventHandler ("onClientKey", root, pressDown) Guys I hope you can help me with that