Results 1 to 4 of 4

Thread: how check open menu ?

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    how check open menu ?

    how check menu?
    if menu isn't opened

    PHP Code:
    if(self.login == && xxxxxx)
    {
        
    self openMenu("caccount_login");


  2. #2
    Private
    Join Date
    Jan 2013
    Location
    Hungary
    Posts
    24
    Thanks
    4
    Thanked 16 Times in 10 Posts
    You can't check that via script. You can only store in a variable, if you have opened a menu, and clear that if you have closed. But that's really time-consuming I think. In my mod I have stored if some important menus are opened, and ignored the others, there isn't a proper solution for this I think.

  3. The Following User Says Thank You to iCore For This Useful Post:

    kung foo man (7th November 2013)

  4. #3
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    Here's some older thread of mine where I asked the exact same thing. Maybe it helps. But actually is the same content iCore already stated.
    http://killtube.org/showthread.php?1...ific-menu-open

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    do a menuresponse onopen and one onclose.

    Then figure out the rest yourself

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •