CipsoftStinks
www.relicaria.com
hello
well my script works but it need a missing feature
atm if i pull the lever and the player its standing where the sqm will change (a normal sqm by a hole)
the player stays "floating"when he should had fell down
can someone add this feature please?
well my script works but it need a missing feature
atm if i pull the lever and the player its standing where the sqm will change (a normal sqm by a hole)
the player stays "floating"when he should had fell down
can someone add this feature please?
Code:
function onUse(cid, item, frompos, item2, topos)
tile1 = {x = 32225, y = 32276, z = 8, stackpos = 0}
gettile1 = getThingfromPos(tile1)
if item.actionid == 4016 and item.itemid == 1945 then
doRemoveItem(gettile1.uid, 1)
doCreateItem(427, 1, tile1)
doTransformItem(item.uid, item.itemid+1)
elseif item.actionid == 4016 and item.itemid == 1946 then
doRemoveItem(gettile1.uid, 1)
doCreateItem(351, 1, tile1)
doTransformItem(item.uid, item.itemid-1)
else
doPlayerSendCancel(cid, "Sorry, not possible.")
end
return true
end