In Gui
and I have problem, why can not I teleport to the interior ID=17?
marker = createMarker(x, y, z)
function Teleport(player)
if getElementType(player)=="player" then
if source == marker then
setElementPosition(player, 493.60000610352, -22.799999237061, 1000.700012207, 358.003204)
setElementFrozen(player, true)
setElementInterior(player, 17)
setTimer(setElementFrozen, 1000, 1, player, false)
end
end
end
addEventHandler("onClientMarkerHit", marker, Teleport)