Thread: 2 Things

Results 1 to 6 of 6
  1. #1 2 Things 
    Registered Member
    LeBron James's Avatar
    Join Date
    Jan 2009
    Posts
    1,510
    Thanks given
    166
    Thanks received
    129
    Rep Power
    165
    Anyone has a clue on how I would make it send a message across the whole server saying, "playerName has just killed Tz-Tok-Jad."

    and

    how would I make it so that whenver a person who dies with a firecape, it gets sent to their bank.

    Thanks.
    Reply With Quote  
     

  2. #2  
    Go Big or Go Home

    Join Date
    Oct 2011
    Age
    29
    Posts
    1,106
    Thanks given
    266
    Thanks received
    142
    Rep Power
    6
    1, Find "You have Defeated Tz-Tok-Jad" Or something along the lines of adding a Firecape...

    And add something like

    sendMessage("@red@[Fight-Pits] " + c.playerName + " Has defeated Tz-Tok-Jad and has been Awarded a FireCape");

    Something like that...

    2.. No idea. You would have to add a declarative and apply it to the method applydead
    Spoiler for I Respect:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2011
    Posts
    220
    Thanks given
    3
    Thanks received
    13
    Rep Power
    2
    for(int i = 0; i < Config.MAX_PLAYERS; i++) {
    if(Server.playerHandler.players[i] != null)
    Server.playerHandler.players[i].sendMessage(Misc.optimizeText(Server.playerHandle r.players[i].playerName) + "hast just beet Tz-Tok-Jad.");
    }




    Look at the apply dead method and see where it creates the ground item.
    Add an exception for fire cape, and also look around to see how items are added to the bank.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Feb 2010
    Age
    30
    Posts
    553
    Thanks given
    144
    Thanks received
    2,147,483,647
    Rep Power
    0
    I guess you could add a yell command to it :/

    Look at the tutorial that announces the 99 in skills it yell's it just use some of there code to do same with jad
    Reply With Quote  
     

  5. #5  
    Registered Member
    LeBron James's Avatar
    Join Date
    Jan 2009
    Posts
    1,510
    Thanks given
    166
    Thanks received
    129
    Rep Power
    165
    Nice amount of thanks you got there^

    And thanks, I'll look further into it. Thanks for the ideas.
    Reply With Quote  
     

  6. #6  
    Registered Member Stewie1million's Avatar
    Join Date
    Jun 2011
    Posts
    588
    Thanks given
    2
    Thanks received
    56
    Rep Power
    14
    Quote Originally Posted by LeBron James View Post
    Nice amount of thanks you got there^

    And thanks, I'll look further into it. Thanks for the ideas.
    4,294,967,294 posts seems legit.
    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. Need help with some things
    By relex lawl in forum Help
    Replies: 10
    Last Post: 09-15-2011, 09:35 PM
  2. A few things
    By Revil in forum Buying
    Replies: 8
    Last Post: 07-23-2011, 01:40 PM
  3. 2 things>.>
    By Mr.PedoBear in forum Help
    Replies: 38
    Last Post: 11-07-2009, 03:39 AM
  4. few things
    By range to dds in forum Help
    Replies: 0
    Last Post: 08-23-2009, 05:29 AM
  5. Need help with a few things.
    By Scottyy in forum Help
    Replies: 2
    Last Post: 08-16-2009, 06:50 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
  •