Nevermind Solved Thanks
|
can anyone help me sorry for the dumb question havent coded in a while but how do you add in a ::teleport to like for instance :onator or something and it teleports you there anyone help?
Nevermind Solved Thanks
EasyCode:if (playerCommand.startsWith("donator")) { c.getPA().movePlayer(Xcord,Ycord,heightLevel); }
Replace Xcord by the x coordinate, Y by Y coordinate and heightlevel by the height level.
If you want a teleport with the teleport animation and gfx use:
Code:if (playerCommand.startsWith("donator")) { c.getPA().spellTeleport(Xcord,Ycord,heightLevel); }
EDIT: Wups was writing this while you answered. Sorry
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |