Hi, i created this code, player use a spell and create a teleport below himself (teleport remove after 5s). [this script is ok]
all players entering teleport are taken to an area (teleport destination), in that area there is a teleport for the player to leave.
I need, if a player entered in teleport, to leave, he will be teleported to the place where the teleport was when he entered, how to do that?
spell.lua (all OK)
tfs 1.3 doubt with a lua script (teleport for the position that enter)
all players entering teleport are taken to an area (teleport destination), in that area there is a teleport for the player to leave.
I need, if a player entered in teleport, to leave, he will be teleported to the place where the teleport was when he entered, how to do that?
spell.lua (all OK)
Lua:
function tpCreate(position)...