healer007
New Member
Hey can anyone help me with this script
should work like this> use door get teleported somewhere (newpos) and if you are NOT standing infront of the door you get error saying stand infront of the door or somefin like that
thnx
Code:
function onUse(cid, item, frompos, item2, topos)
newpos == {x=353, y=441, z=8}
if item.itemactionid == 1030 then
doTeleportThing(cid, newpos)
doSendMagicEffect(newpos, 12)
end
return 1
end
should work like this> use door get teleported somewhere (newpos) and if you are NOT standing infront of the door you get error saying stand infront of the door or somefin like that
thnx