• 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!

Actions Quest. NEED ITENS. HELP

JohnColner

New Member
Joined
Mar 16, 2013
Messages
23
Reaction score
1
I need a quest to be done that needs 100x items and 200x items these items can be in the bag or also on top of something, which is easier for anyone to help. I'll thank you. I need some storage too.
 
Está bem.
Preciso de um que você precisa de uma loja com 100x 8310 e 100x 5913 itens, então com esse armazenamento que eu poste, assim que eu puder atravessar porta-a-porta.

My test script !

Code:
local config = {
   itemid = 8310, -- meat
   itemid2 = 5913, -- meat
   count = 100, -- how many required.
   removeitem = yes, -- yes/no to remove items from player when they pass
}


local pos = {x=107, y=352, z=7, stackpos = 102}
function onUse(cid, item, frompos, item2, pos)
local v = getThingfromPos(pos)
if getPlayerItemCount(cid, config.itemid) >= config.count then
doRemoveItem(v.uid, config.itemid, config.count)
   
    doSendMagicEffect(getCreaturePosition(cid), 61)
   
    setPlayerStorageValue(cid,8575,1)
    else
    doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You require ".. config.count .." ".. getItemNameById(config.itemid) .." to pass.")
    doSendMagicEffect(getCreaturePosition(cid), 31)

    end
return TRUE
end


-- if config.removeitem == yes then
-- doRemoveItem(v.uid)
-- doCreatureSay(cid, "You Done Quest :)", TALKTYPE_ORANGE_2)
--doPlayerAddItem(cid,2298,1)


Sem_t%C3%ADtulo.jpg
 
Last edited:
Back
Top