19.02.2011, 13:29
You can always set players virtual world when he enters the house and then check for it when he exits.
Or
Use houses by ID's and when players enters house with ID: 1 set his PVarInt to house ID, and when he exits you can simply find house by it's ID and teleport the player to house[ID][exitX][exitY][exitZ].
Or
Use houses by ID's and when players enters house with ID: 1 set his PVarInt to house ID, and when he exits you can simply find house by it's ID and teleport the player to house[ID][exitX][exitY][exitZ].