krille09
Belden
hi,
anyone can tell me how to when i take a quest i get a bag with 2 items in it instead of doing 2 chests for 2 items
so long:
anyone can tell me how to when i take a quest i get a bag with 2 items in it instead of doing 2 chests for 2 items
so long:
PHP:
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= 40 then
if item.uid == 7711 then
queststatus = getPlayerStorageValue(cid,7811)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a bag.")
doPlayerAddItem(cid,1987,1)
setPlayerStorageValue(cid,7811,1)