hello iv'e made a tp scirpt and i dont get what's wrong :/
In movements:
Script:
And when im trying to walk on it in game instead of tp i get that white miss (when u miss someone) and in the restarted i see:
Someone knows whats wrong? :blink:
In movements:
Code:
<movevent event="StepIn" uniqueid="3233" script="telefi.lua" />
Script:
Code:
function onStepIn(cid, item, frompos, item2, topos)
playerpos = getPlayerPosition(cid)
novapos = {x=2241, y=2027, z=8}
if item.uid == 3233 then
getThingfromPos(playerpos)
doSendMagicEffect(playerpos,2)
doTeleportThing(cid,novapos)
doSendMagicEffect(novapos,10)
end
end
And when im trying to walk on it in game instead of tp i get that white miss (when u miss someone) and in the restarted i see:
Code:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/telefi.lua:onStepIn
Someone knows whats wrong? :blink: