bpm91
Intermediate OT User
- Joined
- May 23, 2019
- Messages
- 882
- Solutions
- 7
- Reaction score
- 123
- Location
- Brazil
- YouTube
- caruniawikibr
hi, i use nekiro 7.72 tfs 1.5
but i have one script tfs 0.4 and no work, i not teleport
is script of kazordoon elevator, can anybody help me? he doesn't teleport me
but i have one script tfs 0.4 and no work, i not teleport
is script of kazordoon elevator, can anybody help me? he doesn't teleport me
Lua:
function onUse(cid, item, frompos, item2, topos)
uppos = {x=32636, y=31881, z=2, stackpos=1}
up1pos = getThingfromPos(uppos)
downpos = {x=32636, y=31881, z=7, stackpos=1}
down1pos = getThingfromPos(downpos)
if item.itemid == 1945 then
if isPlayer(cid) == TRUE then
doTeleportThing(down1pos.uid, uppos)
end
doSendMagicEffect(downpos, 11)
doSendMagicEffect(uppos, 11)
doTransformItem(item.uid,item.itemid+1)
elseif item.itemid == 1946 then
if isPlayer(cid) == TRUE then
doTeleportThing(up1pos.uid, downpos)
end
doSendMagicEffect(downpos, 11)
doSendMagicEffect(uppos, 11)
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry not possible.")
end
return 1
end