Ir para conteúdo
  • Cadastre-se

Normal AJUDA URGENTE DE QUEST SCRIPT ACTIONS


Posts Recomendados

BOM GALERA TENHO UM SERVER DE WODBO E PRECISO DE UMA AJUDA

QUERO FAZER UMA QUEST ONDE NO FINAL, O ITEM SEJA UMA BAG, COM ITENS DENTRO, MAIS NAO ESTOU CONSEGUINDO FAZER

 

 

elseif item.uid == 6905 then
    queststatus = getPlayerStorageValue(cid,7105)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"Red Senzu.")
    doPlayerAddItem(cid,1999,1)
    setPlayerStorageValue(cid,7105,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
O 1999 É O ID DA BAG AI QUERIA POR ITENS DENTRO
Link para o post
Compartilhar em outros sites
elseif item.uid == 6905 then
    itemid1 = XXX -- ID do item
    itemquant = X -- quantidade
    queststatus = getPlayerStorageValue(cid,7105)
    if queststatus == -1 then
    	doPlayerSendTextMessage(cid,22,"Red Senzu.")
    	local bag = doPlayerAddItem(cid,1999,1)
    	doAddContainerItem(bag, itemid1, itemquant)
    	setPlayerStorageValue(cid,7105,1)
    else
    	doPlayerSendTextMessage(cid,22,"It is empty.")
    end
Editado por Flavio S (veja o histórico de edições)

I must not fear. Fear is the mind killer.

Link para o post
Compartilhar em outros sites
elseif item.uid == 6905 then
    itemid1 = XXX -- ID do item
    itemquant = X -- quantidade
    queststatus = getPlayerStorageValue(cid,7105)
    if queststatus == -1 then
    	doPlayerSendTextMessage(cid,22,"Red Senzu.")
    	local bag = doPlayerAddItem(cid,1999,1)
    	doAddContainerItem(bag, itemid1, itemquant)
    	setPlayerStorageValue(cid,7105,1)
    else
    	doPlayerSendTextMessage(cid,22,"It is empty.")
    end

 

 

Mais tipo até deu certo mais ali em quantidade eu coloco 3000, mais só vai 100

Link para o post
Compartilhar em outros sites
elseif item.uid == 6905 then
    local itemid1 = XXX -- ID do item
    local itemquant = X -- quantidade que vai adicionar por repeticao 30X100 = 3000
    local repeticoes = 30
    queststatus = getPlayerStorageValue(cid,7105)
    if queststatus == -1 then
    	doPlayerSendTextMessage(cid,22,"Red Senzu.")
    	local bag = doPlayerAddItem(cid,1999,1)
    	
    	for i = 1, repeticoes do
    	    doAddContainerItem(bag, itemid1, itemquant)
    	end
    	setPlayerStorageValue(cid,7105,1)
    else
    	doPlayerSendTextMessage(cid,22,"It is empty.")
    end
                              _
                          .-'` `}
                  _./)   /       }
                .'o   \ |       }
                '.___.'`.\    {`
                /`\_/  , `.    }                                      ME DA UMA NOZ!
                \=' .-'   _`\  {
                 `'`;/      `,  }
                    _\   @   ;  }
                   /__`;-...'--'

Cluck!

Link para o post
Compartilhar em outros sites

ALGUEM ME MANDA UM PRONTO? A ID DA BAG É 1999, E A ID DA RED SENZU É 2666, E A QUANTIDADE QUE EU QUERO É A BAG CHEIA QUE NO TOTAL DA 3000 DE RED SENZU. SE ALGUEM CONSEGUIR ME MANDAR PRONTO N ESTOU CONSEGuINDO

Link para o post
Compartilhar em outros sites
local itemId = 2160
local count = 3000
local bagId = 1999

function onUse(cid, item, frompos, itemEx, topos) 
    if getPlayerStorageValue(cid, 21677) <= 0 then
    	local bag = doPlayerAddItem(cid, bagId,1)
    	
    	for i = 1, count do
    	    doAddContainerItem(bag, itemId, 1)
    	end
    	
        setPlayerStorageValue(cid, 21677, 1)
        doPlayerSendCancel(cid, "Congratulations!")
    else
        doPlayerSendCancel(cid, "This is empty.")
    end
    return true
end
                              _
                          .-'` `}
                  _./)   /       }
                .'o   \ |       }
                '.___.'`.\    {`
                /`\_/  , `.    }                                      ME DA UMA NOZ!
                \=' .-'   _`\  {
                 `'`;/      `,  }
                    _\   @   ;  }
                   /__`;-...'--'

Cluck!

Link para o post
Compartilhar em outros sites

nenhuma dessas pegou o meu actions está assim

 

 

function onUse(cid, item, frompos, item2, topos)
 
    if item.uid == 7101 then
    queststatus = getPlayerStorageValue(cid,7101)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Senzu Bean.")
    doPlayerAddItem(cid,2673,1)
    setPlayerStorageValue(cid,7101,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
    elseif item.uid == 7102 then
    queststatus = getPlayerStorageValue(cid,7102)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Golden Scroll.")
    doPlayerAddItem(cid,5882,2)
    setPlayerStorageValue(cid,7102,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
    elseif item.uid == 7103 then
    queststatus = getPlayerStorageValue(cid,7103)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Super C17 Armor.")
    doPlayerAddItem(cid,2655,1)
    setPlayerStorageValue(cid,7103,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
    elseif item.uid == 7104 then
    queststatus = getPlayerStorageValue(cid,7104)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Goku SSJ5 Legs.")
    doPlayerAddItem(cid,2469,1)
    setPlayerStorageValue(cid,7104,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7105 then
    queststatus = getPlayerStorageValue(cid,7105)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Sunglasses.")
    doPlayerAddItem(cid,2461,1)
    setPlayerStorageValue(cid,7105,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7106 then
    queststatus = getPlayerStorageValue(cid,7106)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Kame Staff.")
    doPlayerAddItem(cid,2448,1)
    setPlayerStorageValue(cid,7106,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7107 then
    queststatus = getPlayerStorageValue(cid,7107)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Boots.")
    doPlayerAddItem(cid,2358,1)
    setPlayerStorageValue(cid,7107,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7108 then
    queststatus = getPlayerStorageValue(cid,7108)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a bardock legs.")
    doPlayerAddItem(cid,2460,1)
    setPlayerStorageValue(cid,7108,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7109 then
    queststatus = getPlayerStorageValue(cid,7109)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a bardock armor.")
    doPlayerAddItem(cid,2658,1)
    setPlayerStorageValue(cid,7109,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7110 then
    queststatus = getPlayerStorageValue(cid,7110)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Gun.")
    doPlayerAddItem(cid,2182,1)
    setPlayerStorageValue(cid,7110,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7111 then
    queststatus = getPlayerStorageValue(cid,7111)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Red Ki.")
    doPlayerAddItem(cid,2191,1)
    setPlayerStorageValue(cid,7111,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7112 then
    queststatus = getPlayerStorageValue(cid,7112)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Namek Power.")
    doPlayerAddItem(cid,2456,1)
    setPlayerStorageValue(cid,7112,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7113 then
    queststatus = getPlayerStorageValue(cid,7113)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a helmet.")
    doPlayerAddItem(cid,2459,1)
    setPlayerStorageValue(cid,7113,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7114 then
    queststatus = getPlayerStorageValue(cid,7114)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a helmet.")
    doPlayerAddItem(cid,2342,1)
    setPlayerStorageValue(cid,7114,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7115 then
    queststatus = getPlayerStorageValue(cid,7115)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a armor.")
    doPlayerAddItem(cid,2467,1)
    setPlayerStorageValue(cid,7115,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7116 then
    queststatus = getPlayerStorageValue(cid,7116)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a legs.")
    doPlayerAddItem(cid,2495,1)
    setPlayerStorageValue(cid,7116,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7117 then
    queststatus = getPlayerStorageValue(cid,7117)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Boots.")
    doPlayerAddItem(cid,2644,1)
    setPlayerStorageValue(cid,7117,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7118 then
    queststatus = getPlayerStorageValue(cid,7118)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Glove.")
    doPlayerAddItem(cid,2381,1)
    setPlayerStorageValue(cid,7118,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7119 then
    queststatus = getPlayerStorageValue(cid,7119)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Sword.")
    doPlayerAddItem(cid,2406,1)
    setPlayerStorageValue(cid,7119,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7121 then
    queststatus = getPlayerStorageValue(cid,7121)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Legs.")
    doPlayerAddItem(cid,2648,1)
    setPlayerStorageValue(cid,7121,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7122 then
    queststatus = getPlayerStorageValue(cid,7122)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a claw.")
    doPlayerAddItem(cid,2427,1)
    setPlayerStorageValue(cid,7122,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7123 then
    queststatus = getPlayerStorageValue(cid,7123)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a red ki.")
    doPlayerAddItem(cid,2191,1)
    setPlayerStorageValue(cid,7123,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7124 then
    queststatus = getPlayerStorageValue(cid,7124)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a bardock bandana.")
    doPlayerAddItem(cid,2471,1)
    setPlayerStorageValue(cid,7124,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7125 then
    queststatus = getPlayerStorageValue(cid,7125)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a frozen armor.")
    doPlayerAddItem(cid,2657,1)
    setPlayerStorageValue(cid,7125,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7126 then
    queststatus = getPlayerStorageValue(cid,7126)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a frozen sword.")
    doPlayerAddItem(cid,2446,1)
    setPlayerStorageValue(cid,7126,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7127 then
    queststatus = getPlayerStorageValue(cid,7127)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a majin power.")
    doPlayerAddItem(cid,5914,1)
    setPlayerStorageValue(cid,7127,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7128 then
    queststatus = getPlayerStorageValue(cid,7128)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a 50 Senzu.")
    doPlayerAddItem(cid,2673,50)
    setPlayerStorageValue(cid,7128,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7129 then
    queststatus = getPlayerStorageValue(cid,7129)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a strong staff.")
    doPlayerAddItem(cid,7421,1)
    setPlayerStorageValue(cid,7129,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7130 then
    queststatus = getPlayerStorageValue(cid,7130)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a brolly bandana.")
    doPlayerAddItem(cid,2496,1)
    setPlayerStorageValue(cid,7130,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7131 then
    queststatus = getPlayerStorageValue(cid,7131)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a shin armor.")
    doPlayerAddItem(cid,2653,1)
    setPlayerStorageValue(cid,7131,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7132 then
    queststatus = getPlayerStorageValue(cid,7132)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a majin boots.")
    doPlayerAddItem(cid,2646,1)
    setPlayerStorageValue(cid,7132,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7133 then
    queststatus = getPlayerStorageValue(cid,7133)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a sword of ice.")
    doPlayerAddItem(cid,7386,1)
    setPlayerStorageValue(cid,7133,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7120 then
    queststatus = getPlayerStorageValue(cid,7120)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a capsule.")
    doPlayerAddItem(cid,1999,1)
    setPlayerStorageValue(cid,7120,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7140 then
    queststatus = getPlayerStorageValue(cid,7140)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a map.")
    doPlayerAddItem(cid,1952,1)
    setPlayerStorageValue(cid,7140,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7141 then
    queststatus = getPlayerStorageValue(cid,7141)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a jacket.")
    doPlayerAddItem(cid,2534,1)
    setPlayerStorageValue(cid,7141,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7142 then
    queststatus = getPlayerStorageValue(cid,7142)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a mask.")
    doPlayerAddItem(cid,2482,1)
    setPlayerStorageValue(cid,7142,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
 
 
elseif item.uid == 7143 then
    queststatus = getPlayerStorageValue(cid,7143)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a red capsule.")
    doPlayerAddItem(cid,2001,1)
    setPlayerStorageValue(cid,7143,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
 
elseif item.uid == 7144 then
    queststatus = getPlayerStorageValue(cid,7144)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a human boots.")
    doPlayerAddItem(cid,3982,1)
    setPlayerStorageValue(cid,7144,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
elseif item.uid == 7145 then
    queststatus = getPlayerStorageValue(cid,7145)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a gotem armor.")
    doPlayerAddItem(cid,2654,1)
    setPlayerStorageValue(cid,7145,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7146 then
    queststatus = getPlayerStorageValue(cid,7146)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a viking helmet.")
    doPlayerAddItem(cid,2663,1)
    setPlayerStorageValue(cid,7146,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7147 then
    queststatus = getPlayerStorageValue(cid,7147)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a makankosappo power.")
    doPlayerAddItem(cid,2455,1)
    setPlayerStorageValue(cid,7147,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7148 then
    queststatus = getPlayerStorageValue(cid,7148)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a right key.")
    doPlayerAddItem(cid,2086,1)
    setPlayerStorageValue(cid,7148,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7149 then
    queststatus = getPlayerStorageValue(cid,7149)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a left key.")
    doPlayerAddItem(cid,2090,1)
    setPlayerStorageValue(cid,7149,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7150 then
    queststatus = getPlayerStorageValue(cid,7150)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a blue ki.")
    doPlayerAddItem(cid,2190,1)
    setPlayerStorageValue(cid,7150,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
elseif item.uid == 7151 then
    queststatus = getPlayerStorageValue(cid,7151)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a brooch.")
    doPlayerAddItem(cid,2318,1)
    setPlayerStorageValue(cid,7151,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7152 then
    queststatus = getPlayerStorageValue(cid,7152)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a frozen helmet.")
    doPlayerAddItem(cid,2490,1)
    setPlayerStorageValue(cid,7152,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
 
 
elseif item.uid == 7153 then
    queststatus = getPlayerStorageValue(cid,7153)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a ice armor.")
    doPlayerAddItem(cid,2523,1)
    setPlayerStorageValue(cid,7153,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7154 then
    queststatus = getPlayerStorageValue(cid,7154)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a ice legs.")
    doPlayerAddItem(cid,2521,1)
    setPlayerStorageValue(cid,7154,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
    end
 
elseif item.uid == 7155 then
    queststatus = getPlayerStorageValue(cid,7155)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a sword.")
    doPlayerAddItem(cid,2400,1)
    setPlayerStorageValue(cid,7155,1)
    else
    doPlayerSendTextMessage(cid,22,"It is empty.")
   end
elseif item.uid == 7160 then
    queststatus = getPlayerStorageValue(cid,7160)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have found a Vulcanic Glove.")
    doPlayerAddItem(cid,2386,1)
    setPlayerStorageValue(cid,7160,1)
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
elseif item.uid == 7162 then
    queststatus = getPlayerStorageValue(cid,7162)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You have find Strong Glove deep inside the cocon.")
    doPlayerAddItem(cid,2387,1)
    setPlayerStorageValue(cid,7162,1)
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
 
elseif item.uid == 7163 then
    queststatus = getPlayerStorageValue(cid,7163)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"There is something glowing inside.")
    doPlayerAddItem(cid,2400,1)
    setPlayerStorageValue(cid,7163,1)
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
 
elseif item.uid == 7164 then
    queststatus = getPlayerStorageValue(cid,7164)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"Oh! Its exp booster.")
    doPlayerAddItem(cid,5880,1)
    setPlayerStorageValue(cid,7164,1)
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
elseif item.uid == 7165 then
    queststatus = getPlayerStorageValue(cid,7165)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"Its an chain saw o.O")
    doPlayerAddItem(cid,2321,1)
    setPlayerStorageValue(cid,7165,1)
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
 
elseif item.uid == 7166 then
    queststatus = getPlayerStorageValue(cid,7166)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,2262,1)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
elseif item.uid == 7167 then
    queststatus = getPlayerStorageValue(cid,7167)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,2263,1)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
elseif item.uid == 7168 then
    queststatus = getPlayerStorageValue(cid,7168)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,2264,1)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
elseif item.uid == 7169 then
    queststatus = getPlayerStorageValue(cid,7169)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,2673,100)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
elseif item.uid == 7170 then
    queststatus = getPlayerStorageValue(cid,7170)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,5888,100)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
elseif item.uid == 7171 then
    queststatus = getPlayerStorageValue(cid,7171)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,2543,100)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
elseif item.uid == 7172 then
    queststatus = getPlayerStorageValue(cid,7172)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,2547,100)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
elseif item.uid == 7173 then
    queststatus = getPlayerStorageValue(cid,7173)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"wtf")
    doPlayerAddItem(cid,6300,1)
   
    else
    doPlayerSendTextMessage(cid,22,"There is nothing inside.")
    end
 
elseif item.uid == 7174 then
    queststatus = getPlayerStorageValue(cid,7173)
    if queststatus == -1 then
    doPlayerSendTextMessage(cid,22,"You found c18 armor")
    doPlayerAddItem(cid,2508,1)
   
    else
    doPlayerSendTextMessage(cid,22,"It\'s emply.")
    end
 
 
end
    return 1
   end
 
 
 
TEM VARIOS AI QUERIA ADC O DO RED SENZU AQUI TB
Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por Jaurez
      .
    • Por Cat
      Em alguns casos, o tibia 8.60 comum não abre de jeito nenhum no map editor, mesmo desmarcando check file signatures e configurando o path corretamente.
       
      Este é o client 8.60 adaptado para o Remere's Map Editor. Resolvi postar já que ele foi removido do site oficial do RME. (ficou apenas a versão para linux lá)
      Se estiver tendo problemas para abrir a versão 8.60, tente utilizar este.
                                                                                                                     
      Baixar o Tibia Client 8.60 que funciona no Remere’s Map Editor
      Essa versão do Tibia 8.60 client resolve o erro unsupported client version ou Could not locate tibia.dat and/or tibia.spr, please navigate to your tibia 8.60 installation folder.
       
      Downloads
      https://tibiaking.com/applications/core/interface/file/attachment.php?id=47333

      Scan: https://www.virustotal.com/gui/file/333e172ac49ba2028db9eb5889994509e7d2de28ebccfa428c04e86defbe15cc
       
    • Por danilo belato
      Fala Galera To Com um problema aki 
       
      quero exporta umas sprites de um server para colocar em outro 
       
      eu clico na sprites ai aparece tds a forma delas do lado de la >>
       
      ai eu clico nela e ponho a opiçao de export mais quando salvo a sprite ela n abri 
       
      aparece isso quando tento vê-la 
       
      visualização não disponível ( no formatos png e bitmap)
       
      Agora no formato idc fala que o paint n pode ler 
       
      me ajudem ae...
    • Por Vitor Bicaleto
      Galera to com o script do addon doll aqui, quando eu digito apenas "!addon" ele aparece assim: Digite novamente, algo está errado!"
      quando digito por exemplo: "!addon citizen" ele não funciona e não da nenhum erro
       
      mesma coisa acontece com o mount doll.. 
    • Por Ayron5
      Substitui uma stone no serve, deu tudo certo fora  esse  erro ajudem  Valendo  Rep+  Grato  

      Erro: data/actions/scripts/boost.lua:557: table index is nil
       [Warning - Event::loadScript] Cannot load script (data/actions/scripts/boost.lua)

      Script:
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo