Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
For learning scripts etc, You should browse already existing scripts and try to edit them to your liking..
for example, if you want the orange tree (4006) to give you lets say 1-3 oranges you can use blueberry bush script and edit it for the orange tree
Original script
Code:
function onUse(cid, item, fromPosition, target, toPosition, isHotkey)
item:transform(2786)
item:decay()
Game.createItem(2677, 3, fromPosition)
return true
end
edited script
Code:
function onUse(cid, item, fromPosition, target, toPosition, isHotkey)
item:transform(4008)
item:decay()
Game.createItem(2675, 3, fromPosition)
return true
end
dont forget to add the orange tree into actions.xml so that you actually tell that this tree ( orange tree, 4006 ) will use this script you made
<action itemid="4006" script="orangetree.lua"/>