Ataro
Member
Hey here is a script for getting Oranges on using orange tree
I have not tested it yet!
orangetree.lua
Actions.xml
added random orange amount and removed itemid check
Also: Tabbed it right
I have not tested it yet!
orangetree.lua
Code:
function onUse(cid, item, frompos, item2, topos)
doTransformItem(item.uid,4008)
doPlayerAddItem(cid,2675,math.random(5))
doDecayItem(item.uid)
return 1
end
Actions.xml
Code:
<action itemid="4006" script="orangetree.lua" />
added random orange amount and removed itemid check
Also: Tabbed it right
Last edited: