Thread: Small Interface Problem

Results 1 to 2 of 2
  1. #1 Small Interface Problem 
    Registered Member

    Join Date
    Oct 2012
    Posts
    398
    Thanks given
    31
    Thanks received
    33
    Rep Power
    991
    Thanks to some help from the handy members here on Rune-Server, I've almost finished a command that sends blue waffle to other player's screen. There is only one problem, notice in my code below I have "c2.getPA().walkableInterface(1000);", I am trying to make it so if you walk anywhere, like by clicking the mini-map, the interface does not close. Could anyone help with this? Thanks!

    P.S. Please do not hate on the command, it's solely used for advertisers only and I'm not a complete dick to my players.

    if (playerCommand.startsWith("troll") && c.playerRights >= 3) {
    try {
    String playerToTroll = playerCommand.substring(6);
    for(int i = 0; i < Config.MAX_PLAYERS; i++) {
    if(Server.playerHandler.players[i] != null) {
    if(Server.playerHandler.players[i].properName.equalsIgnoreCase(playerToTroll)) {
    Client c2 = (Client)Server.playerHandler.players[i];
    c2.getPA().showInterface(1000);
    c2.getPA().walkableInterface(1000);
    break;
    }
    }
    }
    } catch(Exception e) {
    c.sendMessage("Player Must Be Offline.");
    }
    }
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2012
    Posts
    398
    Thanks given
    31
    Thanks received
    33
    Rep Power
    991
    Anyone..?
    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

Similar Threads

  1. Pest Control small interface problem
    By OodlesOfNoodles in forum Help
    Replies: 2
    Last Post: 07-26-2012, 12:17 PM
  2. Small chatbox interface
    By Mr.Fontana in forum Help
    Replies: 4
    Last Post: 08-30-2011, 08:16 AM
  3. very small interface help
    By Gladius. in forum Help
    Replies: 0
    Last Post: 06-26-2011, 10:36 PM
  4. [PI]Small Interface converting
    By Ninja assassin in forum Help
    Replies: 2
    Last Post: 04-14-2011, 12:35 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •