Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32043

tfs 1.3 doubt with a lua script (teleport for the position that enter)

$
0
0
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)

Lua:
function tpCreate(position)...
tfs 1.3 doubt with a lua script (teleport for the position that enter)

Viewing all articles
Browse latest Browse all 32043

Trending Articles