• 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!

Build an Entire Server

duuh duuh

New Member
Joined
Jul 13, 2011
Messages
43
Reaction score
0
Well, I'd like to know if there's a walkthrough on how to create a server from 0.. I mean: Scripts, everything...
 
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"/>
 
Back
Top