Thread: [dementhium] female / male command

Results 1 to 5 of 5
  1. #1 [dementhium] female / male command 
    Registered Member
    Join Date
    Dec 2009
    Posts
    141
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    15
    public void female() {
    this.setLook(new byte[7]);
    this.setColour(new byte[5]);
    look[0] = 48; // Hair
    look[1] = 57; // Beard
    look[2] = 57; // Torso
    look[3] = 65; // Arms
    look[4] = 68; // Bracelets
    look[5] = 77; // Legs
    look[6] = 80; // Shoes
    colour[2] = 16;
    colour[1] = 16;
    for (int i = 0; i <5; i++) {
    colour[2] = 16;
    colour[1] = 16;
    colour[0] = 3;
    gender = 1;
    }
    }
    how'd i make a command to it?
    Reply With Quote  
     

  2. #2  
    Echo Gen Labs

    -Charlie's Avatar
    Join Date
    Jun 2010
    Posts
    1,952
    Thanks
    712
    Thanked 573 Times in 320 Posts
    Rep Power
    249
    if (command[0].startsWith("female")) {
    player.getAppearence().female1();
    player.getMask().setApperanceUpdate(true);
    }
    if (command[0].startsWith("male")) {
    player.getAppearence().resetAppearence();
    player.getMask().setApperanceUpdate(true);
    }


    My current work:
    666 Dementhium : 666 Framework : 637 Echo : 666 Project

    "A programmer doesn't recognize time. They could say that they will be finished 'very soon', and very soon to him could mean 5 hours, 5 days, even 5 weeks. Never listen when they tell you how close they are to being complete."
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2009
    Posts
    141
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    15
    awww iloveyou bro
    Reply With Quote  
     

  4. #4  
    Registered Member
    Whired's Avatar
    Join Date
    Aug 2007
    Posts
    2,139
    Thanks
    236
    Thanked 499 Times in 331 Posts
    Rep Power
    797
    ***ist code lulz
    Reply With Quote  
     

  5. #5  
    Echo Gen Labs

    -Charlie's Avatar
    Join Date
    Jun 2010
    Posts
    1,952
    Thanks
    712
    Thanked 573 Times in 320 Posts
    Rep Power
    249
    Quote Originally Posted by international View Post
    awww iloveyou bro
    No problem.


    My current work:
    666 Dementhium : 666 Framework : 637 Echo : 666 Project

    "A programmer doesn't recognize time. They could say that they will be finished 'very soon', and very soon to him could mean 5 hours, 5 days, even 5 weeks. Never listen when they tell you how close they are to being complete."
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Do you want to be a male or female?
    By White girl in forum Chat
    Replies: 20
    Last Post: 12-18-2009, 03:30 PM
  2. Male or Female
    By Pb600 in forum Help
    Replies: 14
    Last Post: 09-24-2009, 07:57 AM
  3. Some Female And Male Hair
    By Norhaqim Ruslan in forum RS 503+ Client & Server
    Replies: 4
    Last Post: 10-17-2008, 03:53 AM
  4. Male and Female command
    By ROYALE. in forum Configuration
    Replies: 4
    Last Post: 08-20-2008, 05:10 PM
  5. Male and Female colors (MORE THAN YOU THINK!)
    By Harvey in forum Tutorials
    Replies: 6
    Last Post: 05-04-2008, 05:06 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
  •