Na Amigo
The crazy girl
i've this script but it's not working if i use "click" the items it removed and nothing happen
Code:
<action itemid="6542" script="Femer.lua" />
LUA:
function onUse(cid, item, frompos, item2, topos)
npos2 = {x=601, y=574, z=7}
if item.itemid == 6542 and doPlayerRemoveItem(cid,6542,1) == 1 then
doSendMagicEffect(getPlayerPosition(cid),17)
doTeleportThing(cid, npos2)
doSendMagicEffect(getPlayerPosition(cid), 17)
else
doPlayerSendCancel(cid,"You Can`t Use It")
end
return 1
end