EvoSoft
Is Da Mapper
Hi again!
I've been searching around and only found one script but.. there's an error popping up..
I've been searching around and only found one script but.. there's an error popping up..
LUA:
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,11171) == -1 then
doPlayerAddItem(cid,1988)
doPlayerAddItem(cid,2457)
doPlayerAddItem(cid,2463)
doPlayerAddItem(cid,2647)
doPlayerAddItem(cid,2525)
doPlayerAddItem(cid,2392)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"You have collected the Knight Set!")
setPlayerStorageValue(cid,11170,1)
doSendMagicEffect(getPlayerPosition(cid),28)
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"The chest is empty.")
end
end
end
end
Last edited: