562 Simple teleport command

Results 1 to 1 of 1
  1. #1
    Member riksk is offline
    MemberRank
    Aug 2011 Join Date
    BrazilLocation
    86Posts

    562 Simple teleport command

    Files: CommandPacketHandler, CommandsPacketHandler

    Code:
    }
    if(cmd[0].equals("::something")) {
    	player.getActionSender().removeTab1();
    	if(player.SafeZone()) {
    		player.getTele().telePlayer(player, ####, ####, #, #);
    	} else if (Location.wildernessLevel(player.getLocation()) > 20) {
    		player.sm("You cannot teleport on 20+ Wilderness.");
    	} else {
    		player.getTele().telePlayer(player, ####, ####, #, #);
    Replace #### with coords




Advertisement