Try adding something like this too it:
Code:if(c.inWild() && c.wildLevel > Config.NO_TELEPORT_WILD_LEVEL && !c.inFunPk()) { c.sendMessage("You can't teleport above level "+Config.NO_TELEPORT_WILD_LEVEL+" in the wilderness."); return; }
|
[pi]
so ive tried looking over the net and i cant find anything.
but when i do ::home in level 20+ wildy, in a duel and in jail i tele home
could someone maybe help me here?
thank you
Try adding something like this too it:
Code:if(c.inWild() && c.wildLevel > Config.NO_TELEPORT_WILD_LEVEL && !c.inFunPk()) { c.sendMessage("You can't teleport above level "+Config.NO_TELEPORT_WILD_LEVEL+" in the wilderness."); return; }
post your command. maybe you're commands using the movePlayer method instead of the startTeleport method
I changed my home command back to normal.
So it's just the basic command.
If you could just add the part to stop me teleporting above 20 Wildy in duels and in jail.
It would be very much appreciated
Change
toCode:if(playerCommand.equalsIgnoreCase("home") && c.playerRights >= 0) { c.getPA().movePlayer(3087,3497,0); }
Code:if(playerCommand.equalsIgnoreCase("home") && c.playerRights >= 0) { c.getPA().startTeleport(3087,3497,0); }
how would i go about making a startTeleport in playerassist
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |