hey, i want to add a teleport command for e.g ::nomad and i have looked at a tut, and i have put this in commands.java with no compile errors. but it teleports me there then it teleports me to a black place , this is the command i used.


if (playerCommand.equalsIgnoreCase("nomad")) {
c.sendMessage("You teleport to nomad.");
c.teleportToX = 2399; //x coord
c.teleportToY = 5171; //ycoord
c.startAnimation(8939); //Emote
c.teleTimer = 9;
c.gfx0(1576); //GFX
c.teleEndAnimation = 8941; //Teleport End Emote
}

Where do i put the height??