What you want to, do not get
function onUse(cid, item, frompos, item2, topos)
if item.uid == 9933 then -- the uniq id you put on chest
queststatus = getPlayerStorageValue(cid,9933) --i recomend putting uniq id of chest
if queststatus == -1 then --the -1 is to you dont make the same quest multiple times
doPlayerSendTextMessage(cid,22,"You have found a Firewalker Boots.")-- msg
doPlayerAddItem(cid,9933,1) -- the id of the item you will recive
setPlayerStorageValue(cid,9933,1) -- this is to you dont make the quest again
else
doPlayerSendTextMessage(cid,22,"It is empty.") -- msg if you already did it
end
end
end
<action uniqueid="9933" script="firewalker.lua" /> --the 9933 is the uniq id of the quest and the firewalker.lua is the lua file in data/actions/scripts
well normaly i used to make quest in rme putting in Uniq Id of the chest but now when i do it when a player try to open the quest it doesn't work so if the same thing happen to you you should make the quest scripting:
this is a fire walker boot quest example..
go to data/actions/scripts
make a new .lua file (in my example is firewalker.lua)
open the file and write this inside
now go to data/actions/actions.xml
and go to the end of the file and write
<action uniqueid="9933" script="firewalker.lua" /> --the 9933 is the uniq id of the quest and the firewalker.lua is the lua file in data/actions/scripts
------
lmao, i wont do that with over 20 quests
How do i make a quest in rme mapeditor? lol