Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function teleport_player(x, y, z, interior, dimension)
- setElementPosition(client, x, y, z)
- setElementInterior(client, interior)
- setElementDimension(client, dimension)
- outputChatBox("[TELEPORTER] : you have been teleported to the desired location")
- end
- addEvent("teleportPlayer", true)
- addEventHandler("teleportPlayer", getResourceRootElement(), teleport_player)
Advertisement
Add Comment
Please, Sign In to add comment