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

How Can I Create Quest and Quest Item?

İs My Server Has Got A Quest Bug?Because All Quest Didnt Running.I Click The box İts Opening :S
I Wanna Put Mpa,cc and etc
 
Example:
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)

questItem = 2488

if getPlayerStorageValue(cid, item.actionid + 100) < 1 then
	doPlayerAddItem(cid, questItem, 1)
		doPlayerSendTextMessage(cid, 22, "You have found a pair of crown legs!")
	setPlayerStorageValue(cid, item.actionid + 100, 1)
		else
			doPlayerSendCancel(cid, "The chest is empty.")
			end
	return TRUE
end
 
Why don't you know english O.o

actions/scripts

actions/actions.xml
Code:
<action actionid="2007" script="quests/crown_armor.lua"/>
 
Just open your mapeditor(RME) and set to a chest:

ActionId = 2000.
UniqueId = Storage KEY unused.
Underneath there is a black squares where you can add items, add your items and ur done.

Good Luck!
 
Back
Top