Ir para conteúdo

Oneshot

Marquês
  • Total de itens

    1347
  • Registro em

  • Última visita

  • Dias Ganhos

    36

Tudo que Oneshot postou

  1. Igorinowz, Então, cara, Você se certificou de colocar a tag desse item no seu arquivo XML movements que se encontra em data/movements? Se não, coloque o que vou passar abaixo, antes de </movements>. <movevent type="Equip" itemid="6095" slot="armor" event="function" value="onEquipItem"/> <movevent type="DeEquip" itemid="6095" slot="armor" event="function" value="onDeEquipItem"/> Até mais,
  2. Oneshot

    Dúvida Sobre Spell!

    kilat, Haha! Se não fosse pelo meu erro, teria funcionado também, Agora, vejamos se entendi, você quer uma verificação se o jogador aprendeu a magia para poder invocar-la? No caso seria com a função getPlayerLearnedInstantSpell(cid, name), ele retorna um valor booleano [verdadeiro = o jogador aprendeu a magia, falso = o contrário]. Vou usar o script do Vodkart, que está menos propenso a erros. local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_BIGCLOUDS) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.6, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.6, -50, -1.8, 0) local area1 = createCombatArea(AREA_CROSS5X5) setCombatArea(combat1, area1) local area2 = createCombatArea(AREA_CROSS5X5) setCombatArea(combat2, area2) function onCastSpell(cid, var) if (isPremium(cid) == TRUE and getPlayerVocation(cid) == 9) then return doCombat(cid, combat2, var) elseif (getPlayerLearnedSpell(cid, "Rage of the Skies")) then return doCombat(cid, combat1, var) else doPlayerSendCancel(cid, "You can\'t use this spell") end end Até mais,
  3. Zuth kimu, O NPC não aceita, bem, moeda ou item. Ele só verifica se o jogador pode pagar os preços com uma função, veja abaixo: if pay(cid, 20000) then e if pay(cid, 7000) then Se o jogador pagar esse valor, o NPC irá prosseguir com a programação da rotina, do contrário irá mandar uma mensagem de que o jogador não possui dinheiro. Se você quiser mudar isso para remover itens do jogador, você pode fazer com essa função lógica: if doPlayerRemoveItem(cid, ID DO ITEM, QUANTIDADE) then Se você quiser registrar um novo tipo de moeda, poderá ir ao arquivo XML items e no item, adicionar essa chave: <attribute key="worth" value="VALOR DA MOEDA" /> Lembrando que o VALOR DA MOEDA se refere a uma só moeda, por exemplo, o valor de uma crystal coin é 10000 Até mais,
  4. Oneshot

    Dúvida Sobre Spell!

    kilat, Pelo que compreendi, você quer uma magia que seja ativada de um jeito para certa condição, e do contrário, de outro jeito. Então, segue o conteúdo da sua magia, que você deverá substituir pelo conteúdo do arquivo LUA da magia Exevo Gran Mas Vis. local combat_premium = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.6, -50, -1.8, 0) local combat_free = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_BIGCLOUDS) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.6, 0) local area_premium = createCombatArea(AREA_CROSS5X5) local area_free = createCombatArea(AREA_CROSS5X5) setCombatArea(combat_premium, area_premium) setCombatArea(combat_free, area_free) function onCastSpell_free(parameters) doCombat(parameters.cid, combat_free, parameters.var) end function onCastSpell_premium(parameters) doCombat(parameters.cid, combat_free, parameters.var) end function onCastSpell(cid, var) local parameters = {cid = cid, var = var} if (getPlayerVocation(cid) == 5 and getPlayerPremiumDays(cid) > 0) then addEvent(onCastSpell_premium, 0, parameters) else addEvent(onCastSpell_free, 0, parameters) end return true end
  5. felipedorgas, Como você pode ver o script funcionará apenas para um Boss, pois foi o que você pediu. Teste o script e reporte no tópico seu funcionamento. Já o script do membro Vodkart é um pouco mais trabalhado e mais versátil. Até mais,
  6. Oneshot

    Novos Colaboradores

    Parabéns aos novos Colaboradores! ^^ Espero que "abram vagas" para a Colaboração de Scripting.
  7. hretro, - Crie um arquivo LUA com nome de sua escolha, copie e cole o conteúdo abaixo, local config = { guildName = "" --[[insira o nome da guild]] uniqueid = 5900 --[[unique ID do piso]] } function onStepIn(cid, item, position, fromPosition) local guildId = getGuildId(config.guildName) if (item.uid == config.uniqueid) then if (getPlayerGuildId == guildId) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Welcome Guildmember!") else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You aren\'t from this guild") doTeleportThing(cid, fromPosition) end end return true end - Copie a tag abaixo no seu arquivo XML movements. <moveevent type="StepIn" uniqueid="5900" event="script" value=".lua"/> Lembrando que você deverá completar o campo value com o nome do documento LUA que você criou seguido da extensão (é claro). Até mais.
  8. Oneshot

    Mudando A Utani Gran Hur.

    139, Creio que já sabe lidar com arquivos LUA e registrar magias no arquivo XML spells, então, postarei apenas o script. local scombat = createCombatObject() local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_TICKS, 22000) setConditionFormula(condition, 0.7, -56, 0.7, -56) setCombatCondition(combat, condition) local area = createCombatArea({ {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0}, {1, 1, 1, 3, 1, 1, 1}, {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0} }) setCombatArea(scombat, area) function onTargetTile(cid, pos) return doCombat(cid, combat, positionToVariant(pos)) end setCombatCallback(scombat, CALLBACK_PARAM_TARGETTILE, "onTargetTile") function onCastSpell(cid, var) return doCombat(cid, scombat, var) end Teste e reporte no tópico o resultado. Até mais.
  9. Claudiomir, Vamos testar essa hipótese: <attribute key="attackspeed" value="X"/> Coloque essa tag no item que você quer no arquivo items.xml. Substituindo X pela velocidade do ataque, lembrando que quanto menor o valor, mais rápido o ataque. Estou incerto sobre isso, mas vai que funciona, né?
  10. É um tutorial ótimo, Parabéns.
  11. craft3R, Esse evento é um tipo de Movement, Crie um arquivo LUA chamado hotaquest na pasta movements/scripts e adicione o conteúdo abaixo: local toposition = {x=, y=, z=, stackpos=253} function onAddItem(cid, moveitem, tileitem, position, cid) if (moveitem.itemid == 2159 and tileitem.actionid == 8012) then doRemoveItem(moveitem.uid, 1) doTeleportThing(cid, toposition) doSendMagicEffect(getThingPosition(cid), 10) doSendMagicEffect(toposition, 10) end return true end Adicione esta tag ao seu arquivo XML movements <moveevent type="AddItem" tileitem="1" actionid="8012" event="script" value="hotaquest.lua"/> Veja se funciona ;D Cya
  12. Adoro o XTibia Recomenda, tem várias sugestões legais, Pena que nenhum dos meus tutoriais foi incluído nele. Deve ser alguma intriga da oposição, haha...
  13. Renatogold7, Verdade, cometi um erro. Você não precisa colocar a verificação de um storage, só usar mais um talkState. local config = { storage = 8002 --Coloque o storage que você irá usar } local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function greetCallback(cid) local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid if (getPlayerStorageValue(cid, config.storage) == -1) then npcHandler:setMessage(MESSAGE_GREET, "Olá ".. getCreatureName(cid) ..". Estou precisando de {ajuda}!") talkState[talkUser] = 10 elseif (getPlayerStorageValue(cid, config.storage) == 0) then npcHandler:setMessage(MESSAGE_GREET, "Já trouxe minhas Worms?") talkState[talkUser] = 2 elseif (getPlayerStorageValue(cid, config.storage) == 1) then npcHandler:setMessage(MESSAGE_GREET, "Olá novamente ".. getCreatureName(cid) ..", meu amigo e eu abrimos um comércio de minhocas, mas estamos meio que sem estoque. Estou precisando de 100 Worms, será que você poderia me ajudar novamente?") talkState[talkUser] = 3 elseif (getPlayerStorageValue(cid, config.storage) == 2) then npcHandler:setMessage(MESSAGE_GREET, "Conseguiu as Worms?") talkState[talkUser] = 4 else npcHandler:setMessage(MESSAGE_GREET, "Olá ".. getCreatureName(cid) ..". Não estou precisando de ajuda por enquanto!") talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end return true end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid if (msgcontains(msg, 'ajuda') and talkState[talkUser] == 10) then npcHandler:say("Eu preciso de 30 Worms para ir pescar hoje com um grande amigo, prometi a ele que as levaria. Você poderia me ajudar?", cid) talkState[talkUser] = 1 end if (msgcontains(msg, 'yes') and talkState[talkUser] == 1) then npcHandler:say("Obrigado! Estarei te esperando aqui!", cid) setPlayerStorageValue(cid, config.storage, 0) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) elseif (msgcontains(msg, 'no') and talkState[talkUser] == 1) then npcHandler:say("Er, ok... Acho que não vou poder pescar hoje...", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end if (msgcontains(msg, 'yes') and talkState[talkUser] == 2) then if (doPlayerRemoveItem(cid, 3976, 30)) then npcHandler:say("Hmm, bom, bom... Aqui está a sua recompensa!", cid) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você recebeu 1000 exp e 500 gps") doPlayerAddExperience(cid, 1000) doPlayerAddMoney(cid, 500) setPlayerStorageValue(cid, config.storage, 1) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) else npcHandler:say("Ei! Eu sei contar, você só tem ".. getPlayerItemCount(cid, 3976) .." Worms", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end elseif (msgcontains(msg, 'no') and talkState[talkUser] == 2) then npcHandler:say("O que você está esperando? Vá logo, por favor!", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end if (msgcontains(msg, 'yes') and talkState[talkUser] == 3) then npcHandler:say("Você não sabe como está me ajudando. Estarei esperando por aqui.", cid) setPlayerStorageValue(cid, config.storage, 2) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 elseif (msgcontains(msg, 'no') and talkState[talkUser] == 3) then npcHandler:say("Er... ok! Estou arruinado!", cid) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 end if (msgcontains(msg, 'yes') and talkState[talkUser] == 4) then if (doPlayerRemoveItem(cid, 3976, 100)) then npcHandler:say("Brigadão! Eu sabia que você era confiável! Pensou que não ganharia nada em troca, não é?", cid) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você recebeu 2500 exp e 1500 gps") doPlayerAddExperience(cid, 2500) doPlayerAddMoney(cid, 1500) setPlayerStorageValue(cid, config.storage, 3) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 else npcHandler:say("Você tem apenas ".. getPlayerItemCount(cid, 3976) .." Worms!", cid) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 end elseif (msgcontains(msg, 'no') and talkState[talkUser] == 4) then npcHandler:say("Estou esperando as Worms...", cid) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) No caso eu usei o talkState 10 para não compremeter o resto do script. De modo que ele só vai responder ao "ajuda" se antes tiver falado que precisa dela.
  14. Renatogold7, Testei o script abaixo na distribuição The Forgotten Server 0.3.6pl1, veja se funciona, local config = { storage = 8002 --Coloque o storage que você irá usar } local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function greetCallback(cid) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if (getPlayerStorageValue(cid, config.storage) == -1) then npcHandler:setMessage(MESSAGE_GREET, "Olá ".. getCreatureName(cid) ..". Estou precisando de {ajuda}!") elseif (getPlayerStorageValue(cid, config.storage) == 0) then npcHandler:setMessage(MESSAGE_GREET, "Já trouxe minhas Worms?") talkState[talkUser] = 2 elseif (getPlayerStorageValue(cid, config.storage) == 1) then npcHandler:setMessage(MESSAGE_GREET, "Olá novamente ".. getCreatureName(cid) ..", meu amigo e eu abrimos um comércio de minhocas, mas estamos meio que sem estoque. Estou precisando de 100 Worms, será que você poderia me ajudar novamente?") talkState[talkUser] = 3 elseif (getPlayerStorageValue(cid, config.storage) == 2) then npcHandler:setMessage(MESSAGE_GREET, "Conseguiu as Worms?") talkState[talkUser] = 4 else npcHandler:setMessage(MESSAGE_GREET, "Olá ".. getCreatureName(cid) ..". Não estou precisando de ajuda por enquanto!") talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end return true end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if (msgcontains(msg, 'ajuda')) then npcHandler:say("Eu preciso de 30 Worms para ir pescar hoje com um grande amigo, prometi a ele que as levaria. Você poderia me ajudar?", cid) talkState[talkUser] = 1 end if (msgcontains(msg, 'yes') and talkState[talkUser] == 1) then npcHandler:say("Obrigado! Estarei te esperando aqui!", cid) setPlayerStorageValue(cid, config.storage, 0) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) elseif (msgcontains(msg, 'no') and talkState[talkUser] == 1) then npcHandler:say("Er, ok... Acho que não vou poder pescar hoje...", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end if (msgcontains(msg, 'yes') and talkState[talkUser] == 2) then if (doPlayerRemoveItem(cid, 3976, 30)) then npcHandler:say("Hmm, bom, bom... Aqui está a sua recompensa!", cid) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você recebeu 1000 exp e 500 gps") doPlayerAddExperience(cid, 1000) doPlayerAddMoney(cid, 500) setPlayerStorageValue(cid, config.storage, 1) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) else npcHandler:say("Ei! Eu sei contar, você só tem ".. getPlayerItemCount(cid, 3976) .." Worms", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end elseif (msgcontains(msg, 'no') and talkState[talkUser] == 2) then npcHandler:say("O que você está esperando? Vá logo, por favor!", cid) talkState[talkUser] = 0 npcHandler:releaseFocus(cid) end if (msgcontains(msg, 'yes') and talkState[talkUser] == 3) then npcHandler:say("Você não sabe como está me ajudando. Estarei esperando por aqui.", cid) setPlayerStorageValue(cid, config.storage, 2) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 elseif (msgcontains(msg, 'no') and talkState[talkUser] == 3) then npcHandler:say("Er... ok! Estou arruinado!", cid) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 end if (msgcontains(msg, 'yes') and talkState[talkUser] == 4) then if (doPlayerRemoveItem(cid, 3976, 100)) then npcHandler:say("Brigadão! Eu sabia que você era confiável! Pensou que não ganharia nada em troca, não é?", cid) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Você recebeu 2500 exp e 1500 gps") doPlayerAddExperience(cid, 2500) doPlayerAddMoney(cid, 1500) setPlayerStorageValue(cid, config.storage, 3) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 else npcHandler:say("Você tem apenas ".. getPlayerItemCount(cid, 3976) .." Worms!", cid) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 end elseif (msgcontains(msg, 'no') and talkState[talkUser] == 4) then npcHandler:say("Estou esperando as Worms...", cid) npcHandler:releaseFocus(cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Cya
  15. Oneshot

    Candy

    Antes de eu me dedicar a programação LUA, eu gostava bastante de fazer trabalhos no Photoshop. Na verdade, eu era fissurado, tinha coleções de stocks, C4Ds e tal. E hoje resolvi ver se ainda sei fazer smudge, Então segui as dicas de um tutorial do membro @Snooz e consegui o resultado que vocês podem ver na minha assinatura. Não sei o por quê, mas quando olhei o resultado, lembrei de doces, então coloquei Candy. O que vocês acharam?
  16. sonezin, Sim, é possível criar esse tipo de sistema por Magia, Basta você usar a sintaxe desse sistema entre a função onCastSpell. Por exemplo, function onCastSpell(cid, var) local p = getThingPosition(cid) doTeleportThing(cid, {x=p.x, y=p.y, z=0}) end No caso acima, quando o jogador usasse a magia iria para a última "camada" do mapa, onde é ambientado o Fly System. Quando houver tempo, poderei desenvolver tal sistema para você, Cya
  17. Editado Agora que eu vi o subtítulo do tópico...
  18. KrEuUuS, Desculpe o incômodo, mas você está em uma "corrida" por posts? Você acaba de "reviver" o tópico datado de 22-11-2009. Favor não cometer mais isso, Cya
  19. Estou participando do concurso e me comprometo a enviar meu script. Só falta arranjar uma idéia interessante, Cya
  20. pcpower, Só de olhar o script já encontrei o erro que faz este não funcionar. Você esqueceu de forçar o retorno de um valor para a função e também de fechar a função com um 'end'. Segue abaixo o script consertado: local config = { position = {x=646, y=854, z=7}, --Coordenadas da cidade item = {13691, 1} --ID do item e quantidade, respectivamente } function onSay(cid, words, param) if (doPlayerRemoveItem(cid, config.item[1], config.item[2])) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voc\ê foi teleportado ao templo de Bree") doTeleportThing(cid, config.position) else doPlayerSendCancel(cid, "Voc\ê n\ão possui ".. config.item[2] .." ".. getItemNameById(config.item[1])" para ser teleportado") end return true end Caso o script acima não funcione, será devido servidores 7.92 não possuirem suporte a algumas funções. Cya
  21. Skolzim, Ao que tudo indica, estou seguindo por um caminho errado, Estarei baixando esse distro que você utiliza, e tentarei achar uma solução para o seu erro. Se você modificou alguma coisa, deve postar aqui, pois se o erro não estiver no distro, como saberei arrumar?
  22. Tópico, Vejamos os tutoriais que serão feitos, - Magias (por felzan) - Talkactions (por MarcelloMkez) - Manipulação de Tabelas (por MasterMathw) Estarei atendendo os pedidos na medida do possível, Cya
  23. Oneshot

    Bestiário

    felzan, Sim, isso significa as coisas que vem depois, Estarei acompanhando este tópico, qualquer dúvida poste aqui. Cya
  24. Skolzim, Passe o conteúdo do arquivo playerdeath.lua, Cya
  25. Oneshot

    Bestiário

    felzan, Sobre o bestiário, estarei dando uma olhada na idéia e tentarei desenvolver-la, Sobre a quest, você pode fazer uma ligação entre creaturescript e NPC No caso, o creaturescript pode ser desenvolvido da seguinte maneira, local config = { storage = 65535 } function onKill(cid, target) if(getPlayerStorageValue(cid, config.storage) == -1)then setPlayerStorageValue(cid, config.storage, 0) end if(getCreatureName(target) == "Rotworm")then setPlayerStorageValue(cid, config.storage, getPlayerStorageValue(cid, config.storage)+1) end registerCreatureEvent(cid, "RotwormCounter") end E então, basta criar um NPC que verifique o valor da variável (storage), seguindo a idéia abaixo. if(msgcontains(msg, 'quest'))then npcHandler:say("Tem uma praga de Rotworms no bueiro da cidade, quando anoitece, um cheio horr\ivel sobe a superfície. Você poderia matar 40 Rotworms para mim?", cid) talkState[talkUser] = 1 end if(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then npcHandler:say("Muito obrigado! Estarei esperando pela confirmação!") elseif(msgcontains(msg, 'no') and talkState[talkUser] == 1) then npcHandler:say("É uma pena mesmo!", cid) end if(msgcontains(msg, 'rotworm')) then npcHandler:say("Você matou 40 rotworms?") talkState[talkUser] = 2 end if(msgcontains(msg, 'yes') and talkState[talkUser] == 2) then if getPlayerStorageValue(cid, 65535) >= 40 then npcHandler:say("Obrigado, aqui está sua recompensa") E_MAIS_UM_MONTE_DE_PROGRAMAÇÕES end end Espero que tenha entendido! Cya
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...