just make em easy... ?
|
Hello, Does anyone know any commands for pking? like:
:ots
::food
::rangepure
::magepure
::meleepure
::barrowpure
::zerker
or any other commands?
thanks.
just make em easy... ?
Yeah, they're really not that hard, they just involve using addItem.
Yea its easy. its basicly like this.
change the 995 to the item id of your liking, and the 2000000000 is the amount.Code:if (playerCommand.equalsIgnoreCase("rich")) { c.getItems().addItem(995, 2000000000); }
if you want to add more just copy this part.
and paste it under it. so it would look like this.Code:c.getItems().addItem(995, 2000000000);
Also, change the rich to like pots, rangepure, ect..Code:if (playerCommand.equalsIgnoreCase("rich")) { c.getItems().addItem(995, 2000000000); c.getItems().addItem(995, 2000000000); }
Yep thats all.
For shit like ::rangedpure.
This gives him 99 range + mage.
in commands.java;
Wrote that on top of my head, not sure if it's right.Code:if (playerCommand.equalsIgnoreCase("master")) { for (int i = 0; i >= 6 && i <= 7 ; i++) { c.playerLevel[i] = 99; c.getPA().refreshSkill(i); c.getPA().requestUpdates(); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |