Thread: How to sit on a chair, for all players

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 How to sit on a chair, for all players 
    Registered Member holy dang it's Avatar
    Join Date
    Dec 2007
    Age
    26
    Posts
    162
    Thanks given
    1
    Thanks received
    0
    Rep Power
    9
    Purpose: If u click on the chest u gunna sit on the chair like this:

    It's possible for all players, maybe a nice suggest for a wedding party or something ! I added in my party room!

    Difficulty: 1 / 10

    Server base: I used Czar (Should work on most)

    Knowledge: Ctrl + f & C&P

    Classes modified: Client.java

    Let's begin:
    Search for:
    Code:
    /*OBJECT CLICK ONE*/
    OR

    Code:
    public void objectClick(int objectID, int objectX, int objectY, int face, int face2, int GateID) {
    Add in there these 2 cases:

    Code:
    case 2380:
    
    teleportToX = XXXX;
    teleportToY = YYYY;
    setAnimation(3363);
    resetAnimation();
    break;
    
    case 375:
    
    teleportToX = PPPP;
    teleportToY = DDDD;
    setAnimation(3363);
    resetAnimation();
    break;
    XXXX: change to the X coords of your first chair
    YYYY: change to the Y coords of your first chair

    PPPP: change to the X coords of your second chair
    DDDD: change to the Y coords of your second chair

    Now only u have to add the objects
    Every1 already know this but for the beginners:
    Find:
    Code:
    public void NewObjects() {
    Add there:

    Code:
    makeGlobalObject(XXXX, YYYY, 2380, -3, 10);//chest
    makeGlobalObject(KKKK, LLLL, 1088, -3, 10);//chair
    makeGlobalObject(PPPP, DDDD, 1088, -1, 10);//chair
    makeGlobalObject(XXXX, YYYY, 375, -1, 10);//chest
    XXXX: change to the X coords of your first chest
    YYYY: change to the Y coords of your first chest

    XXXX: change to the X coords of your second chest
    YYYY: change to the Y coords of your second chest

    KKKK: change to the X coords of your first chair
    LLLLL: change to the Y coords of your first chair

    PPPP: change to the X coords of your second chair
    DDDD: change to the Y coords of your second chair

    Credits: 100% me
    I don't think so, but reply if this already has been posted!!

    [Only registered and activated users can see links. ]
     

  2. #2  
    yankee
    Guest
    im the admin in the gold armor! lol i seriously am!
     

  3. #3  
    Registered Member holy dang it's Avatar
    Join Date
    Dec 2007
    Age
    26
    Posts
    162
    Thanks given
    1
    Thanks received
    0
    Rep Power
    9
    LOL hey MB. Already added?

    [Only registered and activated users can see links. ]
     

  4. #4  
    yankee
    Guest
    lol!(holy dang it ownz all yall noobz!)
     

  5. #5  
    Registered Member Mdog's Avatar
    Join Date
    May 2007
    Posts
    98
    Thanks given
    0
    Thanks received
    0
    Rep Power
    3
    If you want to take this client side you can add a sit option the the chairs . Just a little thought.
     

  6. #6  
    yankee
    Guest
    i was thinking of that but i got lazy and fell asleep lol!
     

  7. #7  
    P I M P 3 D Tut
    Guest
    Not the exact way. But yeah good..
     

  8. #8  
    Registered Member

    Join Date
    Aug 2007
    Posts
    877
    Thanks given
    1
    Thanks received
    15
    Rep Power
    229
    Very Cool, what's the Ip to your server? I might wanna try it out :]
     

  9. #9  
    Banned

    Join Date
    Sep 2006
    Posts
    1,258
    Thanks given
    17
    Thanks received
    14
    Rep Power
    0
    lol nice and smart, ur repped pal!
     

  10. #10  
    yankee
    Guest
    the ip to his server is ugotowned.no-ip.biz im the gold guy in the chair lol!
     

Page 1 of 3 123 LastLast

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
  •