Thread: Need help rep ++

Results 1 to 2 of 2
  1. #1 Need help rep ++ 
    Registered Member FreekySteve69's Avatar
    Join Date
    Jun 2009
    Posts
    606
    Thanks given
    21
    Thanks received
    11
    Rep Power
    42
    ok so i got this command it makes u have 99999999 hp and str and i want to make command so when i type it in it turn ur stat back to normal.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Apr 2007
    Posts
    200
    Thanks given
    0
    Thanks received
    0
    Rep Power
    53
    Are you talking something like this:
    Code:
    			if (playerCommand.equalsIgnoreCase("resetstats"))
    			{
    				try
    				{
    					for (int i = 0; i < 21; i++)
    					{
    						c.playerLevel[i] = c.getPA().getLevelForXP(c.playerXP[i]);
    						c.getPA().refreshSkill(i);
    						c.getPA().requestUpdates();
    					}
    					c.sendMessage("Success, good code.");
    				}
    				catch (Exception e)
    				{
    					c.sendMessage("Failure, bad code.");
    				}
    			}
    Did you know?
    You cant die from a chicken, unless its toonie tuesdays on the 13th day of the year 2010 at exactly 2:32:37 am pacific time.
    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

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