h00diescape
December 12th, 2010, 19:15
This is my 2nd code snippet, my first one was with runelocus and was ::masterother for 508 ;)
if (command.startsWith("masterother") && playerRights >= 3) {
try {
String[] cmd = command.split(" ");
int otherPIndex = PlayerHandler.getPlayerID(cmd[1]);
if (otherPIndex != -1) {
client p = (client) PlayerHandler.players[otherPIndex];
for(int i = 0; i < 21; i++) {
p.addSkillXP(14000000, i);
}
I've not tested it yet, but i will soooon. :d
if (command.startsWith("masterother") && playerRights >= 3) {
try {
String[] cmd = command.split(" ");
int otherPIndex = PlayerHandler.getPlayerID(cmd[1]);
if (otherPIndex != -1) {
client p = (client) PlayerHandler.players[otherPIndex];
for(int i = 0; i < 21; i++) {
p.addSkillXP(14000000, i);
}
I've not tested it yet, but i will soooon. :d