• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Fanfare_Quest

bomba

Member
Joined
Feb 26, 2008
Messages
635
Reaction score
7
Location
Brazil
Quest by Corpse!

Don't are working:

PHP:
--by BomBa
function onUse(cid, item, frompos, item2, topos)
 
if item.uid ==2951 then
queststatus = getPlayerStorageValue(cid,2951)
if queststatus == 1 then
else
            doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(2075) .. '.') 
doSendMagicEffect(topos,12)
doPlayerAddItem(cid,2075,1)
setPlayerStorageValue(cid,2951,1)
end
return 0
end
return 1
end

*Don't need add "It is Empty".
 
Try this:
PHP:
-- by BomBa 
function onUse(cid, item, frompos, item2, topos) 
    if item.uid == 2951 then 
        queststatus = getPlayerStorageValue(cid, 2951) 
        if queststatus == -1 then 
            doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(2075) .. '.')  
            doSendMagicEffect(topos, 12) 
            doPlayerAddItem(cid, 2075, 1) 
            setPlayerStorageValue(cid, 2951, 1) 
        end 
        return 0 
    end 
    return 1 
end
 
Try this:
PHP:
-- by BomBa 
function onUse(cid, item, frompos, item2, topos) 
    if item.uid == 2951 then 
        queststatus = getPlayerStorageValue(cid, 2951) 
        if queststatus == -1 then 
            doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found a ' .. getItemName(2075) .. '.')  
            doSendMagicEffect(topos, 12) 
            doPlayerAddItem(cid, 2075, 1) 
            setPlayerStorageValue(cid, 2951, 1) 
        end 
        return 0 
    end 
    return 1 
end

Don't work...
The quest is Corpse Quest(fanfare).
 
Back
Top