You shouldn't use that signature if you asking that... Post your master command and I'll help.
|
You shouldn't use that signature if you asking that... Post your master command and I'll help.
Something like this ifNot addexp and make an exceptionCode:(playerCommand.equalsIgnoreCase("master")) { for (int i = 0; i < 21; i++) { c.playerLevel[i] = 99; c.playerXP[i] = c.getPA().getXPForLevel(100); c.getPA().refreshSkill(i); } c.getPA().requestUpdates(); }
just do if (i != c.playerSlayer)
Why do you constantly post half assed help that invloves variable names that no server has?
You can use the same loop for the skills to do what you just posted without needing some bullshit new variable declared
Code:(playerCommand.equalsIgnoreCase("master")) { for (int i = 0; i < 21; i++) { if (i != slayerId(think its 18?)) { c.playerLevel[i] = 99; c.playerXP[i] = c.getPA().getXPForLevel(100); c.getPA().refreshSkill(i); } c.getPA().requestUpdates(); } }
Mental Piracy is 100% on it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |