Thread: Interface Closing Problems

Results 1 to 2 of 2
  1. #1 Interface Closing Problems 
    Registered Member
    Join Date
    Sep 2009
    Posts
    106
    Thanks given
    6
    Thanks received
    1
    Rep Power
    1
    So I decided to add a char screen to my 508 (not z508), but when i try to close the interface, nothing happens, even if i make it so the button closes the window, any ideas?

    The code:

    Code:
    if(buttonId == 160) {
    p.frames.removeShownInterface(p);
    }
    I can provide a picture or something if it helps.
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jan 2009
    Age
    34
    Posts
    3,143
    Thanks given
    27
    Thanks received
    92
    Rep Power
    0
    ActionButtons class, if there's a switch statement (switch (buttonID {) or something like that, put this under the switch:

    Code:
    case 160:
    p.frames.removeShownInterface(p);
    break;
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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