Hello guys!
How i put when die for a monster dont lost any item / backpack / aol?
Thank you!
Edit: Another question...when i create one quest with this script...
Have i to put storage id in quests.xml in xml folder?
How i put when die for a monster dont lost any item / backpack / aol?
Thank you!
Edit: Another question...when i create one quest with this script...
function onUse(cid, item, frompos, item2, topos)
if item.uid == 8006 then
if getPlayerStorageValue(cid,8006) == -1 then
doPlayerSendTextMessage(cid,25,"Voce achou 20 crystal coins!")
doPlayerAddItem(cid,2160,20)
setPlayerStorageValue(cid,8006,1)
else
doPlayerSendTextMessage(cid,25,"Esta vazio!")
end
end
return TRUE
end
Have i to put storage id in quests.xml in xml folder?