First go to data\actions\scripts and make new lue whit name
Food Tree.lua
and put this
\/
then go to data\actions and open actions XML and add this
and it give you Red Apples the tree id is : 5390
and that is all if I helped you rep++ :thumbup: ^_^
Food Tree.lua
and put this
\/
---- By Bogart-----
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 5390 then
doTransformItem(item.uid,5390)
doPlayerAddItem(cid,2674,100)
doSendAnimatedText(frompos,'Apples Mmmm', TEXTCOLOR_RED)
doDecayItem(item.uid)
end
return 1
end
then go to data\actions and open actions XML and add this
<action itemid="5390" script="Food Tree.lua"/>
and it give you Red Apples the tree id is : 5390
and that is all if I helped you rep++ :thumbup: ^_^