Go to net>codec>RS2LoginProtocol and look for
under ur setCoords thingo, addCode:if (p.teleportToX == -1 && p.teleportToY == -1)
No money pls, rep will do rofl.Code:Engine.playerItems.addItem(p, 995, amount);
|
I have a starter and im wondering if anyone can make it so it can only be used once. Espeon z508. Ill pay 3 bucks via paypal. Add me at [email protected]
Go to net>codec>RS2LoginProtocol and look for
under ur setCoords thingo, addCode:if (p.teleportToX == -1 && p.teleportToY == -1)
No money pls, rep will do rofl.Code:Engine.playerItems.addItem(p, 995, amount);
so u want a starter command?
ripped this out of a z508 source, all you have to do is add the variable when accounts are created.if (cmd[0].equals("starter") && p.starter == 0) {
Engine.playerItems.addItem(p, 995, 500000);
p.message("You've been given a Starter Pack, use it Wisely!");
p.starter = 1;
}
no money needed lol this is very easy.
ha if you have the blank z508 source there is no starter... you have to add it..
well its very easy to add... and i gave the command.. add this in player.java search or Player's index: or put it whereever the variables are assigned on account creation.
/**
* Player's starter.
*/
public int starter = 0;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |