Felipe93
Ghost Member
Hiho hey u remember i was doing some things i avesta ? i got all working
but now i got problems with all quest of the servers i try to add the via map editor but no succes for example
<action uniqueid="4011" script="thais/Noble Armor Quest/crown_helmet.lua" />
<action uniqueid="4012" script="thais/Noble Armor Quest/noble_armor.lua" />
noble armor one
function onUse(cid, item, frompos, item2, topos)
if item.uid == 4012 then
queststatus = getPlayerStorageValue(cid,4012)
if queststatus == -1 and getPlayerAccess(cid) == 0 then
doPlayerSendTextMessage(cid,22,"You have found a noble armor.")
item_uid = doPlayerAddItem(cid,2486,1)
setPlayerStorageValue(cid,4012,1)
else
doPlayerSendTextMessage(cid,22,"The chest is empty.")
end
else
return 0
end
return 1
end
what i should do? its an avesta 7.4 0.6.5 thanks
but now i got problems with all quest of the servers i try to add the via map editor but no succes for example
<action uniqueid="4011" script="thais/Noble Armor Quest/crown_helmet.lua" />
<action uniqueid="4012" script="thais/Noble Armor Quest/noble_armor.lua" />
noble armor one
function onUse(cid, item, frompos, item2, topos)
if item.uid == 4012 then
queststatus = getPlayerStorageValue(cid,4012)
if queststatus == -1 and getPlayerAccess(cid) == 0 then
doPlayerSendTextMessage(cid,22,"You have found a noble armor.")
item_uid = doPlayerAddItem(cid,2486,1)
setPlayerStorageValue(cid,4012,1)
else
doPlayerSendTextMessage(cid,22,"The chest is empty.")
end
else
return 0
end
return 1
end
what i should do? its an avesta 7.4 0.6.5 thanks