Thread: How do I make an Interface!

Results 1 to 4 of 4
  1. #1 How do I make an Interface! 
    archsage78
    Guest
    Ok soo, Im so used to coding normal or 317*? servers, so 508's are new to me, how do I make an interface for anything. Or how Do I edit an emote to tele!?!? PLEASE HELP! Btw for specifics the source is vista scape!
    Reply With Quote  
     

  2. #2  
    Registered Member
    AndyJay's Avatar
    Join Date
    Jun 2008
    Posts
    1,285
    Thanks given
    38
    Thanks received
    48
    Rep Power
    84
    Edit what emotes do in ActionButtons. Not too sure what the cases are off the top of my head, if you cant find them let me know and Ill look for 'um.


    Reply With Quote  
     

  3. #3  
    Registered Member 00o0o0oo0's Avatar
    Join Date
    Jun 2008
    Posts
    232
    Thanks given
    10
    Thanks received
    3
    Rep Power
    27
    What you mean interface for anything?

    Like if you click something a Interface pops up? if so you just use
    Code:
    p.frames.showInterface(p, ###);
    in your code.

    ### being the Interface ID
    Never Back Down!
    Reply With Quote  
     

  4. #4  
    Registered Member
    AndyJay's Avatar
    Join Date
    Jun 2008
    Posts
    1,285
    Thanks given
    38
    Thanks received
    48
    Rep Power
    84
    Here's an example to show an interface..

    Code:
    private void interface(Player p){
        if (p == null)
            return;
    		p.frames.showInterface(p, 275);
    		p.frames.setString(p, "Title", 275, 2);
    		p.frames.setString(p, "", 275, 11);
    		p.frames.setString(p, "Line 1.", 275, 12);
    		p.frames.setString(p, "Line 2", 275, 13);
    		p.frames.setString(p, "Line 3", 275, 14);
    		p.frames.setString(p, "", 275, 14+i);
    }
    As you can see the numbers go up by one - 11); 12); etc. Just keep increasing them to create more lines. The 14+i needs to be changed. Change the 14 to the last number.


    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

Tags for this Thread

View Tag Cloud

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