Results 1 to 10 of 45

Thread: iMask's Scripts

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #36
    Big Cheese Captain
    Join Date
    Jun 2013
    Posts
    1,029
    Reviving this thread!

    EDIT: I got it working. However, I'm unsure how to code a next page...hmm
    PHP Code:
    //Clicked Menu 3 (Friends List)
    function MenuButton3Action() {
      if (
    Friends1.visible == true) {
        for(
    temp.i=0;temp.i=<clientr.friends.size() - 1;temp.i++) {
          (
    "Friends"@i).visible false;
        }
        return;
      }
      if (
    clientr.friends == 0) {
        
    player.chat "I have no friends!";
      } else {
        
    temp.add 0;
        for(
    temp.i=0;temp.i=<clientr.friends.size() - 1;temp.i++) {
          (
    "Friends"@i).visible true;
          
    temp.add += 30;
          new 
    GuiButtonCtrl("Friends"@i) {
            
    profile GuiBlueButtonProfile;
            
    height 20;
            
    width 200;
            
    600;
            
    200 temp.add;
            
    text clientr.friends[i];
            
    thiso.catchevent(name,"onMouseDown","friendsclick");
          }
        }
      }
    }
    function 
    friendsclick(obj) {
      
    temp.friend obj.name.substring(7);
      
    triggerserver("gui","System/Profile","Player",clientr.friends[temp.friend]);

    Last edited by iMask; 05-28-2015 at 03:47 PM.
    iEra Developer / SFX Admin

    Need help? Contact me:
    Email: [email protected]

Posting Permissions

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