specials(different to what you think)

Discussion in 'Archives' started by pk3r kyle, Aug 15, 2007.

specials(different to what you think)
  1. Unread #1 - Aug 15, 2007 at 6:07 AM
  2. pk3r kyle
    Referrals:
    0

    pk3r kyle Guest

    specials(different to what you think)

    Purpose: instead of by emotes its on screen :p

    Difficulty:1/10
    Assumed Knowledge: c&p and searching
    Server Base: pimpscape (might work on any)

    Classes Modified: client.java



    search
    Code:
    public void checkSpec() {
    and replace it with

    Code:
      public void checkSpec() { 
    		if (spec == 0)
    		{
    			specbar = "@red@~~specials~~";
    		}
    		if (spec == 1)
    		{
    			specbar = "@gre@[@red@@~~specials~~";
    		}
    		if (spec == 2)
    		{
    			specbar = "@gre@@red@@~~specials~~";
    		}
    		if (spec == 3)
    		{
    			specbar = "@gre@@red@@~~special~~";
    		}
    		if (spec == 4)
    		{
    			specbar = "@gre@~@red@@~specials~~";
    		}
    		if (spec == 5)
    		{
    			specbar = "@gre@~~@red@@specials~~";
    		}
    		if (spec == 6)
    		{
    			specbar = "@gre@~~s@red@pecials~~";
    		}
    		if (spec == 7)
    		{
    			specbar = "@gre@~~sp@red@ecials~~";
    		}
    		if (spec == 8)
    		{
    			specbar = "@gre@~~spe@red@cials~~";
    		}
    		if (spec == 9)
    		{
    			specbar = "@gre@~~spec@red@ials~~";
    		}
    		if (spec == 10)
    		{
    			specbar = "@gre@~~speci@red@als~~";
    		}
    		if (spec == 11)
    		{
    			specbar = "@gre@~~specia@red@ls~~";
    		}
    		if (spec == 12)
    		{
    			specbar = "@gre@~~special@red@s~~";
    		}
    		if (spec == 13)
    		{
    			specbar = "@gre@~~specials@red@~~";
    		}
    		if (spec == 14)
    		{
    			specbar = "@gre@~~specials~@red@~";
    		}
    		if (spec == 15)
    		{
    			specbar = "@gre@~~specials~~@red@";
    		}
    
    
          }
    search for
    Code:
    public void writePlayers() {
    and add
    under

    Code:
        int players = PlayerHandler.getPlayerCount();
    this
    Code:
    sendFrame126("                   "+specbar, 6570);
     
< partyhats weildable at 1 defence | Zero's User Services! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site