Ir para conteúdo

kaleudd

Membro
  • Registro em

  • Última visita

Tudo que kaleudd postou

  1. Gostaria de ajuda,queria saber como faço para quando a bike se mover soltasse um efeito atras dela,toda vez que andasse sairia efeito atraz,tipo o fogo de uma moto do motoqueiro fantasma Script;
  2. Sua duvida já é a resposta,Cyan=-Pda,Pda=é um lixo de estavel.
  3. Isso não tem nada ver com Otclient,e sim com algum script do servidor,não lembro qual,mais tenta vr em ord sla
  4. kaleudd postou uma resposta no tópico em Sprites
    Muito obrigado. Rep+
  5. kaleudd postou uma resposta no tópico em Sprites
    Poste o créditos do membro que voce pegou de outro forum. pois ele que descompilo e libero,portanto mereçe os creditos,Tem 24Hrs para postar,caso contrario será reportado. Link do topico do outro forum
  6. alguem tem as novas remakes das montanhas do pokexgames? vlw!
  7. coisa horrivel,tutorial mal feito tudo dentro de uma só bar,eca!!
  8. OLa,bem estou com um problema no addon system que achei,é o seguinte,ele funciona de boa ao usar item talz,porem unico problema é que a Cdbar dos attacks somen,dai ele fica sem nenhum attack ESTOU USANDO ESSE SCRIPT http://www.tibiaking.co...s-pokemons-151/ funcionou Quase que perfeitamente. Não consegui configurar a cod bar para funcionar com o addon (se usar o addon todos os moves somen,ele fica sem). Alguem saberia como fazer?
  9. OLa,bem estou com um problema no addon system que achei,é o seguinte,ele funciona de boa ao usar item talz,porem unico problema é que a Cdbar dos attacks somen,dai ele fica sem nenhum attack ESTOU USANDO ESSE SCRIPT funcionou Quase que perfeitamente. Não consegui configurar a cod bar para funcionar com o addon (se usar o addon todos os moves somen,ele fica sem). Alguem saberia como fazer? Em actions.xml adicione a seguinte tag: <action itemid="xxxx" event="script" value="addons.lua"/> Sendo, xxxx o id do item que vai dar o addon. addons.lua function onUse(cid, item, fromPosition, itemEx, toPosition) local addons = { [xxxx] = {pokemon= "Scyther" , looktype = 510}, --xxxx = id do item do addon --- "Scyther" = nome do pokemon --- looktype = 1 é o looktype do pokemon com addon } if #getCreatureSummons(cid) > 0 then doPlayerSendCancel(cid, "Please back your pokemon.") return false end local numero = addons[item.itemid].looktype local pb = getPlayerSlotItem(cid, 8).uid local pk = addons[item.itemid].pokemon if getItemAttribute(pb,"poke") ~= pk then doPlayerSendCancel(cid, "Sorry, you can't use this addon on this poke.") return false end if getItemAttribute(pb,"addon") < 1 then doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid, 27, "Congratulations! Now your pokemon will use the addon.") doSetItemAttribute(pb,"addon",numero) return true end return true end Na action do goback, no finalzinho antes de else doPlayerSendCancel(cid, "This pokemon is fainted.") end Coloque: local pk = getCreatureSummons(cid)[1] local pb = getPlayerSlotItem(cid, 8).uid local look = getItemAttribute(pb,"addon") if not look then doSetItemAttribute(pb,"addon",0) return false end if look > 0 then doSetCreatureOutfit(pk, {lookType = look}, -1) return true end Agora em data/lib/catch system.lua Depois de: doItemSetAttribute(item, "description", description) Coloque: doItemSetAttribute(item, "addon", 0) Depois em data/talkactions/scripts/createpokeball.lua depois de: doItemSetAttribute(item, "description", "Contains a "..name..".") Coloque: doItemSetAttribute(item, "addon", 0)
  10. kaleudd postou uma resposta no tópico em Tutoriais sobre Clients
    Olá,como faço para adicionar imagens,a cada aba,exemplo: 1.Exp=1 imagen 2.Exp=Outra imagen diferente ou seja em todas as jenelas uma imagens diferente,para facilitar o tutorial. Se puder ajudar,vlw!
  11. Salve,gostaria de saber onde edito as posiçao das city do meu script de teleport do /h do pokemon Base:Pda 1.2 Meu Script: local config = { premium = true, -- se precisa ser premium account (true or false) battle = true -- se precisa estar sem battle (true). Se colocar false, poderá usar teleport no meio de batalhas } local places = { [1] = {name = "Celadon", id = 1}, [2] = {name = "Saffron", id = 2}, [3] = {name = "Cerulean", id = 3}, [4] = {name = "Lavender", id = 4}, [5] = {name = "Vermilion", id = 5}, [6] = {name = "Fuchsia", id = 6}, [7] = {name = "Cinnabar", id = 7}, [8] = {name = "Viridian", id = 9}, [9] = {name = "Pewter", id = 10}, [10] = {name = "Pallet Town", id = 12}, [11] = {name = "Azalea", id = 13}, [12] = {name = "Cianwood", id = 14}, [13] = {name = "Olivine", id = 15}, [14] = {name = "Goldenrod", id = 16}, [15] = {name = "Violet", id = 18}, [16] = {name = "Outland North", id = 20}, [17] = {name = "Outland South", id = 21}, [18] = {name = "Outland East", id = 19}, [19] = {name = "Rod", id = 22}, } function onSay(cid, words, param) if #getCreatureSummons(cid) == 0 then doPlayerSendCancel(cid, "You need a pokemon to use teleport.") return true end if not isInArray(specialabilities["teleport"], getCreatureName(getCreatureSummons(cid)[1])) then return 0 end if getPlayerStorageValue(cid, 22545) == 1 then --golden arena doPlayerSendCancel(cid, "You can't do that while the golden arena!") return true end if getPlayerStorageValue(cid, 212124) >= 1 then --alterado v2.6 return doPlayerSendCancel(cid, "You can't do it with a pokemon with mind controlled!") end if getPlayerStorageValue(cid, 52480) >= 1 then return doPlayerSendCancel(cid, "You can't do it while a duel!") --alterado v2.6 end if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then return doPlayerSendCancel(cid, "You can't do it while in the PVP Zone!") --alterado v2.7 end if exhaustion.get(cid, 180) and exhaustion.get(cid, 180) > 0 then local tempo = exhaustion.get(cid, 180) or 0 local min = math.floor(tempo) doPlayerSendCancel(cid, "Your pokemon is tired, wait "..getStringmytempo(tempo).." to teleport again.") return true end if config.premium and not isPremium(cid) then doPlayerSendCancel(cid, "Only premium members are allowed to use teleport.") return true end if config.battle and getCreatureCondition(cid, CONDITION_INFIGHT) then doPlayerSendCancel(cid, "Your pokemon can't concentrate during battles.") return true end if (param == '') then local str = "" str = str .. "Places to go :\n\nHouse\n" for a = 1, #places do str = str..""..places[a].name.."\n" end doShowTextDialog(cid, 7416, str) return true end local item = getPlayerSlotItem(cid, 8) local nome = getPokeballName(item.uid) local summon = getCreatureSummons(cid)[1] local lastppos = getThingPos(cid) local lastspos = getThingPos(summon) local telepos = {} local myplace = "" local townid = 0 local citySto = 0 --alterado v2.7 if string.lower(param) == "house" then if not getHouseByPlayerGUID(getPlayerGUID(cid)) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "You don't own a house.") return true end telepos = getHouseEntry(getHouseByPlayerGUID(getPlayerGUID(cid))) myplace = "our home" else for x = 1, #places do if string.find(string.lower(places[x].name), string.lower(param)) then townid = places[x].id myplace = places[x].name citySto = places[x].sto or -1 --alterado v2.7 end end if myplace == "" then doPlayerSendCancel(cid, "That place doesn't exist.") return true end if isInArray({"Outland North", "Outland South", "Outland East"}, myplace) then if getPlayerLevel(cid) < 150 then doPlayerSendTextMessage(cid, 27, "You need level 150 to enter in Outland.") return true end end end if myplace ~= "" and townid > 0 then telepos = getTownTemplePosition(townid) end if getDistanceBetween(getThingPos(cid), telepos) <= 15 then doPlayerSendCancel(cid, "You are too near to the place you want to go!") return true end doSendMagicEffect(getThingPos(summon), 29) doSendMagicEffect(getThingPos(cid), 29) doTeleportThing(cid, telepos, false) local pos2 = getClosestFreeTile(cid, getPosByDir(getThingPos(cid), SOUTH)) doTeleportThing(summon, pos2, false) doSendMagicEffect(getThingPos(cid), 29) doCreatureSay(cid, ""..nome..", teleport to "..myplace.."!", TALKTYPE_MONSTER) doCreatureSay(cid, ""..nome..", teleport to "..myplace.."!", TALKTYPE_MONSTER, false, 0, lastppos) doCreatureSay(summon, "TELEPORT!", TALKTYPE_MONSTER) doCreatureSay(summon, "TELEPORT!", TALKTYPE_MONSTER, false, 0, lastspos) doCreatureSetLookDir(cid, SOUTH) doCreatureSetLookDir(summon, SOUTH) doSendMagicEffect(getThingPos(summon), CONST_ME_TELEPORT) exhaustion.set(cid, 180, 180) if isInArray({"Outland North", "Outland South", "Outland East"}, myplace) then setPlayerStorageValue(cid, 31040, 1) else setPlayerStorageValue(cid, 31040, -1) end return true end
  12. Olá,gostaria de saber onde fica o script de quando mirar em pokemon selvagem fica uma target ao redor do pokemon,gostaria de muda-la.obg!
  13. Alguem poderia descompilar esse oldclient 100% funcional? pq eu descompilei mais tinhas uns bug no .dat e nao abria todas as sprs Dou 5 Rep+ Link do ot para descompilar http://www.psoul.net/ http://www.psoul.net/ http://www.psoul.net/ http://www.psoul.net/
  14. Isso é meio que um leilao,um player bota tal item que com seu preço,quando o outro player comprar o dinheiro cai direto na conta do vendendor,isso é bem da hora!
  15. Script para o pokemon do player ser atacado,pois essa script só o player está tomando dano,e quero que o pokemon e o player tomen dano,obg. -- config by uotl£ -- distancia contando os quadros no chao ate chegar a parede resumo tamanho do raio -- lado_raio 1 ->> 2 <<-- 3 / \ 4 | -- | \ / effect = efeito pos = posição dano = porcentagem do dano local config = { {effect = 15,pos = {x = 1091, y = 997, z = 7},distancia = 3,dano = 100,lado_raio = 1}, {effect = 15,pos = {x = 1091, y = 970, z = 7},distancia = 3,dano = 100,lado_raio = 1}, {effect = 15,pos = {x = 1091, y = 979, z = 7},distancia = 3,dano = 100,lado_raio = 1}, {effect = 15,pos = {x = 1084, y = 988, z = 7},distancia = 3,dano = 100,lado_raio = 4}, } -- config by uotl£ function onThink(cid, interval, lastExecution) atirador () return true end function atirador () for sinal, valor in pairs(config) do for i = 1,valor.distancia do if valor.lado_raio == 1 then doSendMagicEffect({x = valor.pos.x+i, y = valor.pos.y, z = valor.pos.z},valor.effect) check = {x = valor.pos.x+i, y = valor.pos.y, z = valor.pos.z,stackpos=255} elseif valor.lado_raio == 2 then doSendMagicEffect({x = valor.pos.x-i, y = valor.pos.y, z = valor.pos.z},valor.effect) check = {x = valor.pos.x-i, y = valor.pos.y, z = valor.pos.z,stackpos=255} elseif valor.lado_raio == 3 then doSendMagicEffect({x = valor.pos.x, y = valor.pos.y-i, z = valor.pos.z},valor.effect) check = {x = valor.pos.x, y = valor.pos.y-i, z = valor.pos.z,stackpos=255} elseif valor.lado_raio == 4 then doSendMagicEffect({x = valor.pos.x, y = valor.pos.y+i, z = valor.pos.z},valor.effect) check = {x = valor.pos.x, y = valor.pos.y+i, z = valor.pos.z,stackpos=255} end tmp = getThingFromPos(check) if(tmp.uid ~= 0) then if isPlayer(tmp.uid) then -- se quer que attack os bichos usa esse "if isCreature(tmp.uid) then" p = (getCreatureMaxHealth(tmp.uid)/100)*valor.dano doCreatureAddHealth(tmp.uid, -p) doSendAnimatedText(getCreaturePosition(tmp.uid), math.ceil (p),145) end end end end end
  16. kaleudd postou uma resposta no tópico em Suporte Tibia OTServer
    up
  17. kaleudd postou uma resposta no tópico em Suporte Tibia OTServer
    Salve! Bem estou montando uma quest,e preciso que ao player derrotar esse npc ele de um item. Obs:Peguei a script de um Lider de ginasio e modifiquei sómente os pokemons e as falas,mais quando eu derroto o npc ele da Insignia,mais eu quero que ele de um X item.Obg local focus = 0 local max_distance = 8 local talk_start = 0 local conv = 0 local fighting = false local challenger = 0 local afk_limit_time = 30 -- seconds local afk_time = 0 -- don't change local battle_turn = 1 -- don't change local challenger_turn = 0 -- don't change local pokemons = { {name = "Clone Blastoise", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, {name = "Clone Charizard", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, {name = "Clone Gengar", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, {name = "Clone Venusaur", optionalLevel = 100, sex = SEX_MALE, nick = "", ball = "super"}, } local function doSummonGymPokemon(npc) local this = npc if #getCreatureSummons(this) >= 1 or focus == 0 then return true end local it = pokemons[battle_turn] doSummonMonster(this, it.name) local summon = getCreatureSummons(this)[1] local balleffect = pokeballs["normal"].effect if it.ball and pokeballs[it.ball] then balleffect = pokeballs[it.ball].effect end doSendMagicEffect(getThingPos(summon), balleffect) setPlayerStorageValue(summon, 10000, balleffect) setPlayerStorageValue(summon, 10001, gobackmsgs[math.random(#gobackmsgs)].back:gsub("doka", it.nick ~= "" and it.nick or it.name)) setPlayerStorageValue(summon, 1007, it.nick ~= "" and it.nick or it.name) doSetMonsterGym(summon, focus) addEvent(adjustWildPoke, 15, summon, it.optionalLevel) local name = it.nick ~= "" and it.nick or getCreatureName(this).."s "..it.name doCreatureSay(this, gobackmsgs[math.random(#gobackmsgs)].go:gsub("doka", getPlayerStorageValue(summon, 1007)), 1) fighting = true battle_turn = battle_turn + 1 end local function doWinDuel(cid, npc) if not isCreature(cid) then return true end local this = npc local a = gymbadges[getCreatureName(this)] + 8 doCreatureSay(npc, "You won the duel! Congratulations, take this "..getItemNameById(a - 8).." as a prize.", 1) local b = getPlayerItemById(cid, true, a) if b.uid > 0 then doTransformItem(b.uid, b.itemid - 8) end end function onCreatureSay(cid, type, msg) local msg = string.lower(msg) if focus == cid then talk_start = os.clock() end if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 4 then focus = cid talk_start = os.clock() conv = 1 selfSay("Hello "..getCreatureName(cid)..", mais um viajante fracassado,voce veio aqui por vontade propria,mais para sair sera obrigado a seguir minhas regras,diga {duel} para acabarmos logo com isso") return true end if isDuelMsg(msg) and conv == 1 and focus == cid then --if getPlayerItemCount(cid, gymbadges[getCreatureName(getThis())]) >= 1 then -- selfSay("You have already won my Marsh Badge, maybe some other day we can fight.") -- focus = 0 --return true --end if not hasPokemon(cid) then selfSay("Solte seu pokemon para comecarmos a batalha.") return true end selfSay("You are challenging me to a battle. It will be a "..#pokemons.." pokemon limit battle, let's start?") conv = 2 return true end if isConfirmMsg(msg) and conv == 2 and focus == cid then challenger = focus setPlayerStorageValue(cid, 990, 1) selfSay("Yea, let's fight!") talk_start = os.clock() addEvent(doSummonGymPokemon, 850, getThis()) conv = 3 return true end if isNegMsg(msg) and conv == 2 and focus == cid then focus = 0 selfSay("Era melhor sevoce tivesse ficado fora do meu caminho!") return true end if msgcontains(msg, 'bye') and focus == cid then selfSay('Bye and do your best trainer!') setPlayerStorageValue(focus, 990, -1) focus = 0 return true end end local afk_warning = false function onThink() --doSendAnimatedText(getThingPos(getThis()), getCreatureName(getThis()), 215) if focus == 0 then selfTurn(2) fighting = false challenger = 0 challenger_turn = 0 battle_turn = 1 afk_time = 0 afk_warning = false if #getCreatureSummons(getThis()) >= 1 then setPlayerStorageValue(getCreatureSummons(getThis())[1], 1006, 0) doCreatureAddHealth(getCreatureSummons(getThis())[1], -getCreatureMaxHealth(getCreatureSummons(getThis())[1])) end return true else if not isCreature(focus) then focus = 0 return true end if fighting then talk_start = os.clock() if not isCreature(getCreatureTarget(getThis())) then if #getCreatureSummons(challenger) >= 1 then if getCreatureOutfit(getCreatureSummons(challenger)[1]).lookType ~= 2 then --alterado v1.6 selfAttackCreature(getCreatureSummons(challenger)[1]) challenger_turn = challenger_turn + 1 afk_time = 0 end else afk_time = afk_time + 0.5 end end if afk_time > afk_limit_time then setPlayerStorageValue(focus, 990, -1) focus = 0 selfSay("Fraco!Ja esperava isso de viajantes desse tipo!") return true end if not afk_warning and afk_time > afk_limit_time / 2 then selfSay("Where's your pokemon? Let's fight!") afk_warning = true end if #getCreatureSummons(getThis()) == 0 then if battle_turn > #pokemons then addEvent(doWinDuel, 1000, focus, getThis()) setPlayerStorageValue(focus, 990, -1) focus = 0 return true end addEvent(doSummonGymPokemon, 1000, getThis()) end if not hasPokemon(challenger) or challenger_turn >= 7 or challenger_turn > #pokemons then selfSay("You lost our duel! Maybe some other time you'll defeat me.") setPlayerStorageValue(focus, 990, -1) focus = 0 return true end end local npcpos = getThingPos(getThis()) local focpos = getThingPos(focus) if npcpos.z ~= focpos.z then setPlayerStorageValue(focus, 990, -1) focus = 0 selfSay("Bye then.") return true end if (os.clock() - talk_start) > 30 then selfSay("Good bye and keep training!") setPlayerStorageValue(focus, 990, -1) focus = 0 end if getDistanceToCreature(focus) > max_distance then setPlayerStorageValue(focus, 990, -1) focus = 0 return true end local dir = doRedirectDirection(getDirectionTo(npcpos, focpos)) selfTurn(dir) end return true end
  18. Ja conegui resolver agora pouco,mais obg pela ajuda Rep+ por tentar ajudar.
  19. Nada,quando eu clico no botao ja logado client,ele só fecha a aba do shop
  20. Não,pois adptei um sistema de shop feito por min,ai só ficou esse Talktion e os botoes cada item é um desses,por isso gostaria dum botao que ao clicar abrisse o meu site UIButton id: Button !text: tr('TM CASE 5') image-source: /images/ui/shop1 !tooltip: tr('Voce podera abrir e ganhar um TM super raro,e equipar em seu pokemon,assim ele tera um novo attack') anchors.fill: parent anchors.top: text.bottom anchors.right: text.right margin-bottom: 305 margin-left: 20 width: 250 height: 35 @onClick: g_game.talk('#shop1#')
  21. Não somente esse e a talkactions,mais creio que nao tenha a haver com a talkactions,mais está aqui. function onSay(cid, words, param, channel) if not isCreature(cid) then return true end diamondCount = getPlayerItemCount(cid, oficialDiamond) if words == "#shop1#" then if doPlayerRemoveItem(cid, oficialDiamond, 5) then doPlayerAddItem(cid, 12784, 1) doPlayerSendTextMessage(cid, 19, "You buy a TM Case 5 for 5 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 5 Diamonds to buy a TM Case 5!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop2#" then if doPlayerRemoveItem(cid, oficialDiamond, 4) then doPlayerAddItem(cid, 12783, 1) doPlayerSendTextMessage(cid, 19, "You buy a TM Case 4 for 4 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 4 Diamonds to buy a TM Case 4!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop3#" then if doPlayerRemoveItem(cid, oficialDiamond, 1) then doPlayerAddItem(cid, 12800, 1) doPlayerSendTextMessage(cid, 19, "You buy a Boost Stone for 1 Diamond.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 1 Diamonds to buy a Boost Stone!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop4#" then if doPlayerRemoveItem(cid, oficialDiamond, 8) then doPlayerAddItem(cid, 12798, 1) doPlayerSendTextMessage(cid, 19, "You buy an Ultimate Boost Stone for 8 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 8 Diamonds to buy an Ultimate Boost Stone!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop5#" then if doPlayerRemoveItem(cid, oficialDiamond, 5) then doPlayerAddItem(cid, 12803, 1) doPlayerSendTextMessage(cid, 19, "You buy a Clan Booster for 5 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 5 Diamonds to buy a Clan Booster!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop6#" then if doPlayerRemoveItem(cid, oficialDiamond, 7) then doPlayerAddItem(cid, 12801, 1) doPlayerSendTextMessage(cid, 19, "You buy a XP Booster for 7 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 7 Diamonds to buy a XP Booster!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop7#" then if doPlayerRemoveItem(cid, oficialDiamond, 10) then doPlayerAddItem(cid, 10223, 1) doPlayerSendTextMessage(cid, 19, "You buy a Master Rod for 10 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 10 Diamonds to buy a Master Rod!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop8#" then if doPlayerRemoveItem(cid, oficialDiamond, 25) then doPlayerAddItem(cid, 12805, 1) doPlayerSendTextMessage(cid, 19, "You buy a PM Box Surprise for 25 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 25 Diamonds to buy a PM Box Surprise!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop9#" then if doPlayerRemoveItem(cid, oficialDiamond, 25) then doPlayerAddItem(cid, 12929, 1) doPlayerSendTextMessage(cid, 19, "You buy a PM Box X for 25 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 25 Diamonds to buy a PM Box X!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop10#" then if doPlayerRemoveItem(cid, oficialDiamond, 5) then doPlayerAddItem(cid, 12927, 1) doPlayerSendTextMessage(cid, 19, "You buy a PM Moto Key for 5 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 5 Diamonds to buy a PM Moto Key!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop11#" then if doPlayerRemoveItem(cid, oficialDiamond, 5) then doPlayerAddItem(cid, 13270, 1) doPlayerSendTextMessage(cid, 19, "You buy a Candy of Level for 5 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 5 Diamonds to buy a Candy of Level!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop12#" then if doPlayerRemoveItem(cid, oficialDiamond, 10) then doPlayerAddItem(cid, 2346, 1) doPlayerSendTextMessage(cid, 19, "You buy a Master Bless for 10 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 10 Diamonds to buy a Master Bless!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#shop13#" then if doPlayerRemoveItem(cid, oficialDiamond, 50) then doPlayerAddItem(cid, 13458, 1) doPlayerSendTextMessage(cid, 19, "You buy a Box Megas for 50 Diamonds.") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 50 Diamonds to buy a Box Megas!") doCreatureExecuteTalkAction(cid, "#diamondsCount#") return true end end if words == "#diamondsCount#" then doPlayerSendCancel(cid, "#diamonds#,"..diamondCount..",") return true end return true end
  22. Não foi,apos eu botar o icone do shop sumiu,e nao tinha como acessar sem o icon :x
  23. Poderia modifica-lo para min? UIButton id: ButtonClose image-source: /images/ui/buydiamond anchors.fill: parent anchors.top: text.bottom anchors.right: text.right margin-bottom: 370 margin-left: 364 width: 172 height: 41 @onClick: Shop.hide()

Informação Importante

Confirmação de Termo