Postado Julho 22, 2015 9 anos Tenho uma quest que vai ter três baus mas eu queria que so desse pra pegar um! escolher um dos três itens no caso!
Postado Julho 22, 2015 9 anos só usar a mesma storage nos 3. por exemplo -- Storages para usar -- 70011 - 70012 - 70046 para continuar .. -- UniqueID parado é 55072 -- UniqueIDS para quests, começa nos 55000+ para a quest funcionar, use o ACTIONID 2000 + UNIQUEID para pegar o BAU e os Storagevalue 70000+ -- local config = { storage = 70013, Bp_ID = 5926, -- Pirate Backpack storage2 = 70020, Bp_Present = 1990 -- presente anihilator] } function onUse(cid, item, fromPosition, itemEx, toPosition) -- QUEST ALEATORIA -- elseif item.uid == 55066 then if getPlayerStorageValue(cid,70041) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a yalahari mask and vampiric crest.") doPlayerAddItem(cid, 9778, 1) setPlayerStorageValue(cid,70041,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"The chest is empty.") end elseif item.uid == 55067 then if getPlayerStorageValue(cid,70041) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a yalahari armor and a vampiric chest .") doPlayerAddItem(cid, 9955, 1) setPlayerStorageValue(cid,70041,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"The chest is empty.") end elseif item.uid == 55068 then if getPlayerStorageValue(cid,70041) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a yalahari leg piece and a vampiric crest .") doPlayerAddItem(cid, 9955, 1) setPlayerStorageValue(cid,70041,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"The chest is empty.") end -- END quest -- end return true end Editado Julho 22, 2015 9 anos por Jobs (veja o histórico de edições)
Postado Julho 22, 2015 9 anos Autor Em 22/07/2015 em 23:18, Jobs disse: só usar a mesma storage nos 3. por exemplo -- Storages para usar -- 70011 - 70012 - 70046 para continuar .. -- UniqueID parado é 55072 -- UniqueIDS para quests, começa nos 55000+ para a quest funcionar, use o ACTIONID 2000 + UNIQUEID para pegar o BAU e os Storagevalue 70000+ -- local config = { storage = 70013, Bp_ID = 5926, -- Pirate Backpack storage2 = 70020, Bp_Present = 1990 -- presente anihilator] } function onUse(cid, item, fromPosition, itemEx, toPosition) -- QUEST ALEATORIA -- elseif item.uid == 55066 then if getPlayerStorageValue(cid,70041) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a yalahari mask and vampiric crest.") doPlayerAddItem(cid, 9778, 1) setPlayerStorageValue(cid,70041,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"The chest is empty.") end elseif item.uid == 55067 then if getPlayerStorageValue(cid,70041) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a yalahari armor and a vampiric chest .") doPlayerAddItem(cid, 9955, 1) setPlayerStorageValue(cid,70041,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"The chest is empty.") end elseif item.uid == 55068 then if getPlayerStorageValue(cid,70041) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a yalahari leg piece and a vampiric crest .") doPlayerAddItem(cid, 9955, 1) setPlayerStorageValue(cid,70041,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"The chest is empty.") end -- END quest -- end return true end local config = { storage = 70013, Bp_ID = 5926, -- Pirate Backpack storage2 = 70020, Bp_Present = 1990 -- presente anihilator] } qual o motivo dessa BP ?
Postado Julho 22, 2015 9 anos Cara, que script de bosta esse cara postou. Tem uma seção de configuração que nem mesmo é usada. Segura as pontas aí que vou te ajudar.
Postado Julho 22, 2015 9 anos Em 22/07/2015 em 23:25, TioJapa disse: é um exemplo rs Em 22/07/2015 em 23:27, Lordfire disse: Cara, que script de bosta esse cara postou. Tem uma seção de configuração que nem mesmo é usada. Segura as pontas aí que vou te ajudar. valeu programador fodastisco, tão bosta que uso todos meus scripts apenas nele, se voce não sabe para que serve eu te digo, não há necessidades de 200 arquivos expalhados, organização e simplicidade. :*
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.