YugiNao
Banned User
- Joined
- Nov 22, 2008
- Messages
- 211
- Reaction score
- 3
My lever doesn't work ingame gives error in console to,
This is how i added it.
and here is the script.
This is how i added it.
Code:
<action itemid="5000" event="script" value="other/lever1.lua"/>
and here is the script.
Code:
onUse(cid, item)
if item.itemid == 1946 then
doTransformItem(item.uid, item.itemid-1)
return true
end
if item.actionid ~= 5000 then
return true
end
doPlayerAddItem(cid, 2270, 1)
doPlayerRemoveMoney(cid, 50000)
doTransformItem(item.uid, item.itemid+1)
return true
end