zeck Owner
Posts : 27 Reputation : 3 Join date : 2010-01-17 Age : 33 Location : Florida
| Subject: Adminpoints, Modpoints, Removepoints (Atomic Base) Wed Apr 28, 2010 8:07 pm | |
| Ok well this is pretty a basic command and it's really easy anyone can do it. But maybe not begginers but here you go. These commands go to src>com>rs2hd>packethandler>commandscreenhandler Adminpoints - Code:
-
} if(cmd[0].equals("adminpoints")) { Player other = World.getInstance().getPlayerList().get(World.getInstance().getIdFromName(command.substring((command.indexOf(" ") + 1)))); if (other != null) { other.PkPoints = 100000; } }
Modpoints - Code:
-
} if(cmd[0].equals("modpoints")) { Player other = World.getInstance().getPlayerList().get(World.getInstance().getIdFromName(command.substring((command.indexOf(" ") + 1)))); if (other != null) { other.PkPoints = 10000; } }
Removepoints - Code:
-
} if(cmd[0].equals("removepoints")) { Player other = World.getInstance().getPlayerList().get(World.getInstance().getIdFromName(command.substring((command.indexOf(" ") + 1)))); if (other != null) { other.PkPoints = 0; } }
All I really did was change the - Code:
-
other.PkPoints = 100000;
To different numbers and changed the command. | |
|