ond
Veteran OT User
Could someone help me edit this script? It doesn't give any errors, just don't work.
LUA:
function onStepIn(cid, item, frompos, item2, topos)
novapos = {x=32858, y=32338, z=7}
novapos2 = {x=32816, y=32312, z=7}
if item.uid == 2021 and getPlayerVocation == 2 and getPlayerVocation == 6 then
doTeleportThing(cid,novapos)
doSendMagicEffect(novapos,13)
elseif item.uid == 2021 and getPlayerVocation == 1 and getPlayerVocation == 3 and getPlayerVocation == 4 and getPlayerVocation == 5 and getPlayerVocation == 7 and getPlayerVocation == 8 then
doTeleportThing(cid,novapos2)
doSendMagicEffect(novapos,13)
end
end