Teleport doesn't work when changing world
#2
I tested the entity changed world hook. It works on my side. After I changed the world, I get teleported to the coordinates.

Reduced code:
function OnEntityChangedWorld(Entity, World)
	LOG("Entity changed world")
	if Entity:IsPlayer() then
		LOG("Entity is a player.")
		Entity:TeleportToCoords(1034, 69, 660)
	end
end
Reply
Thanks given by:


Messages In This Thread
RE: Teleport doesn't work when changing world - by Seadragon91 - 10-10-2015, 04:19 PM



Users browsing this thread: 5 Guest(s)