Ir para conteúdo

Fawkzz12

Campones
  • Total de itens

    93
  • Registro em

  • Última visita

Tudo que Fawkzz12 postou

  1. Fawkzz12

    Login.lua Erro

    nao deu certo, mostra o mesmo erro, na linha 136
  2. Fawkzz12

    Login.lua Erro

    como pode ver ali dentro, não tem nada com "?" na linha 138
  3. Fawkzz12

    Login.lua Erro

    [12/04/2019 01:56:27] data/creaturescripts/scripts/login.lua:onLogin[12/04/2019 01:56:27] Description: [12/04/2019 01:56:27] data/creaturescripts/scripts/login.lua:138: attempt to index field '?' (a nil value)[12/04/2019 01:56:27] stack traceback:[12/04/2019 01:56:27] data/creaturescripts/scripts/login.lua:138: in function <data/creaturescripts/scripts/login.lua:6>[12/04/2019 01:56:27] Sync has logged out.  o player não consegue logar e da esse erro
  4. Fawkzz12

    Limpeza LOGS

    Galera, queria saber se tem um script para limpar os LOGS da distro automaticamente sabe, porque ela pesa o servidor assim dando lag
  5. Fawkzz12

    Mini Lendario

    Alguem tem a sprite de mini mewtwo ou sabe um cliente que tenha?
  6. [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/look.lua:339: unexpected symbol near ']' [19/03/2019 02:19:31] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/look.lua) [19/03/2019 02:19:31] data/creaturescripts/scripts/look.lua:339: unexpected symbol near ']' local NPCPrice = { ["seed"] = {price = 30}, ["electric box"] = {price = 150}, ["sandbag"] = {price = 150}, ["comb"] = {price = 150}, ["fur"] = {price = 150}, ["ruby"] = {price = 300}, ["essence of fire"] = {price = 30}, ["small stone"] = {price = 30}, ["pot of moss bug"] = {price = 150}, ["screw"] = {price = 30}, ["straw"] = {price = 100}, ["water gem"] = {price = 30}, ["remains of magikarp"] = {price = 100}, ["teeth"] = {price = 150}, ["bottle of poison"] = {price = 30}, ["water pendant"] = {price = 100}, ["feather"] = {price = 150}, ["pair of leaves"] = {price = 150}, ["apple bite"] = {price = 60}, ["bat wing"] = {price = 150}, ["pot of lava"] = {price = 150}, ["fire pendant"] = {price = 100}, ["bug venom"] = {price = 100}, ["bug antenna"] = {price = 150}, ["venom pendant"] = {price = 100}, ["pot of venom"] = {price = 150}, ["iron bracelet"] = {price = 150}, ["ice orb"] = {price = 150}, ["gosme"] = {price = 150}, ["darkness gem,"] = {price = 30}, ["bug gosme"] = {price = 80}, ["enchanted gem,"] = {price = 30}, ["horn"] = {price = 150}, ["venom piece"] = {price = 150}, ["big wing"] = {price = 500}, ["dragon tail"] = {price = 500}, ["purple tail"] = {price = 500}, ["majesty wing"] = {price = 500}, ["alligator skin"] = {price = 500}, ["big egg"] = {price = 500}, ["teel feather"] = {price = 50000}, ["red feather"] = {price = 50000}, ["yellow feather"] = {price = 50000}, ["registeel orb"] = {price = 50000}, ["white rune"] = {price = 500}, ["foxtail"] = {price = 500}, ["pot with fire"] = {price = 350}, ["water orb"] = {price = 350}, ["iron piece"] = {price = 350}, ["gyarados tail"] = {price = 500}, ["bulb"] = {price = 350}, ["long fang"] = {price = 400}, ["turtle hull"] = {price = 350}, ["dragon tooth"] = {price = 1000}, ["iron pin"] = {price = 400}, ["mimic clothes"] = {price = 1000}, ["scythe"] = {price = 1000}, ["buzz tail"] = {price = 1000}, ["bird beak"] = {price = 200}, ["rat tail"] = {price = 200}, ["longhorn"] = {price = 350}, ["luck medalion"] = {price = 350}, ["wool ball"] = {price = 400}, ["psyduck mug"] = {price = 350}, ["punch toy"] = {price = 500}, ["twisted spoon"] = {price = 350}, ["future orb"] = {price = 250}, ["champion belt"] = {price = 400}, ["slowpoke tail"] = {price = 300}, ["imam"] = {price = 250}, ["stick slash"] = {price = 300}, ["traces of ghost"] = {price = 350}, ["onix tail"] = {price = 300}, ["bone"] = {price = 250}, ["big tongue"] = {price = 500}, ["power orb"] = {price = 250}, ["bracelet"] = {price = 250}, ["star"] = {price = 200}, ["magma orb"] = {price = 250}, ["shell"] = {price = 200}, ["iron bar"] = {price = 250}, ["bag of poison dust"] = {price = 250}, ["steel wing"] = {price = 500}, ["green orb"] = {price = 250}, ["steel ore"] = {price = 400}, ["charizard wing"] = {price = 600}, ["magma box"] = {price = 400}, ["giant turtle hull"] = {price = 600}, ["red gyarados tail"] = {price = 10000}, ["crystal tail"] = {price = 1000}, ["Helix Fossil"] = {price = 150000}, ["Dome Fossil"] = {price = 150000}, ["Old Amber"] = {price = 500000}, ["green apple bite"] = {price = 400}, ["leaf pendant"] = {price = 350}, ["bone mask"] = {price = 400}, ["pikachu tail"] = {price = 300}, ["raichu tail"] = {price = 500}, ["blue vines"] = {price = 350}, ["stone orb"] = {price = 250}, ["locksmith of shell"] = {price = 200}, ["crab claw"] = {price = 200}, ["noctowl own"] = {price = 500}, ["togepi egg"] = {price = 400}, ["pinsir horn"] = {price = 350}, ["ice bra"] = {price = 500}, ["xatu wing"] = {price = 500}, ["snake tail"] = {price = 350}, ["seahorse tail"] = {price = 300}, ["strange sting"] = {price = 300}, ["tentacle"] = {price = 300}, ["strange rock"] = {price = 250}, ["skarmory wing"] = {price = 600}, ["scizor claw"] = {price = 600}, ["star gem"] = {price = 500}, ["tyranitar tail"] = {price = 600}, ["small tail"] = {price = 300}, ["magmar foot"] = {price = 1000}, ["red wing"] = {price = 500}, ["gligar claw"] = {price = 350}, ["insect foot"] = {price = 350}, ["strange wing"] = {price = 400}, ["mantine tail"] = {price = 400}, ["small tusk"] = {price = 350}, ["nidoran male ear"] = {price = 250}, ["skin tail"] = {price = 200}, ["sting hand"] = {price = 200}, ["aipom hand"] = {price = 250}, ["ledyba wing"] = {price = 200}, ["strange antenna"] = {price = 250}, ["squirry tail"] = {price = 250}, ["point of light"] = {price = 300}, ["kangaskhan ear"] = {price = 500}, ["strange flower"] = {price = 350}, ["great petal"] = {price = 350}, ["great flower"] = {price = 500}, ["fire tail"] = {price = 400}, ["strange horn"] = {price = 350}, ["piece of coral"] = {price = 350}, ["shuckle armor"] = {price = 350}, ["plant tail"] = {price = 250}, ["sea tail"] = {price = 250}, ["helicopter leaves"] = {price = 200}, ["strange spike"] = {price = 200}, ["bag of pollem"] = {price = 200}, ["Heart Stone"] = {price = 5000}, ["Leaf Stone"] = {price = 5000}, ["Water Stone"] = {price = 5000}, ["Fire Stone"] = {price = 5000}, ["Metal Stone"] = {price = 10000}, ["Crystal Stone"] = {price = 10000}, ["Ancient Stone"] = {price = 10000}, ["Venom Stone"] = {price = 5000}, ["Thunder Stone"] = {price = 5000}, ["Rock Stone"] = {price = 5000}, ["Punch Stone"] = {price = 5000}, ["Coccon Stone"] = {price = 5000}, ["Darkness Stone"] = {price = 5000}, ["Earth Stone"] = {price = 5000}, ["Enigma Stone"] = {price = 5000}, ["Ice Stone"] = {price = 5000}, ["Boost Stone"] = {price = 20000}, ["Mega Stone"] = {price = 50000}, } local NPCBattle = { ["Brock"] = {artig = "He is", cidbat = "Pewter"}, ["Misty"] = {artig = "She is", cidbat = "Cerulean"}, ["Blaine"] = {artig = "He is", cidbat = "Cinnabar"}, ["Sabrina"] = {artig = "She is", cidbat = "Saffron"}, --alterado v1.9 \/ peguem tudo! ["Kira"] = {artig = "She is", cidbat = "Viridian"}, ["Koga"] = {artig = "He is", cidbat = "Fushcia"}, ["Erika"] = {artig = "She is", cidbat = "Celadon"}, ["Surge"] = {artig = "He is", cidbat = "Vermilion"}, } local shinys = { ["Shiny Abra"] = "Dark Abra", ["Shiny Onix"] = "Crystal Onix", ["Shiny Gyarados"] = "Red Gyarados", ["Shiny Charizard"] = "Elder Charizard", ["Shiny Venusaur"] = "Black Venusaur", ["Shiny Blastoise"] = "Blue Blastoise", ["Shiny Farfetch'd"] = "Elite Farfetch'd", ["Shiny Hitmonlee"] = "Elite Hitmonlee", ["Shiny Himonchan"] = "Elite Hitmonchan", ["Shiny Snorlax"] = "Big Snorlax", } -- tabela adicionado ao configuration só procura por price = ..-- local xhelds = { [1] = {name = "X-Defense(Tier: 1)"}, [2] = {name = "X-Defense(Tier: 2)"}, [3] = {name = "X-Defense(Tier: 3)"}, [4] = {name = "X-Defense(Tier: 4)"}, [5] = {name = "X-Defense(Tier: 5)"}, [6] = {name = "X-Defense(Tier: 6)"}, [7] = {name = "X-Defense(Tier: 7)"}, [8] = {name = "X-Attack(Tier : 1)"}, [9] = {name = "X-Attack(Tier : 2)"}, [10] = {name = "X-Attack(Tier: 3)"}, [11] = {name = "X-Attack(Tier: 4)"}, [12] = {name = "X-Attack(Tier: 5)"}, [13] = {name = "X-Attack(Tier: 6)"}, [14] = {name = "X-Attack(Tier: 7)"}, [15] = {name = "X-Return(Tier: 1)"}, [16] = {name = "X-Return(Tier: 2)"}, [17] = {name = "X-Return(Tier: 3)"}, [18] = {name = "X-Return(Tier: 4)"}, [19] = {name = "X-Return(Tier: 5)"}, [20] = {name = "X-Return(Tier: 6)"}, [21] = {name = "X-Return(Tier: 7)"}, [22] = {name = "X-Hellfire(Tier: 1)"}, [23] = {name = "X-Hellfire(Tier: 2)"}, [24] = {name = "X-Hellfire(Tier: 3)"}, [25] = {name = "X-Hellfire(Tier: 4)"}, [26] = {name = "X-Hellfire(Tier: 5)"}, [27] = {name = "X-Hellfire(Tier: 6)"}, [28] = {name = "X-Hellfire(Tier: 7)"}, [29] = {name = "X-Poison(Tier: 1)"}, [30] = {name = "X-Poison(Tier: 2)"}, [31] = {name = "X-Poison(Tier: 3)"}, [32] = {name = "X-Poison(Tier: 4)"}, [33] = {name = "X-Poison(Tier: 5)"}, [34] = {name = "X-Poison(Tier: 6)"}, [35] = {name = "X-Poison(Tier: 7)"}, [36] = {name = "X-Boost(Tier: 1)"}, [37] = {name = "X-Boost(Tier: 2)"}, [38] = {name = "X-Boost(Tier: 3)"}, [39] = {name = "X-Boost(Tier: 4)"}, [40] = {name = "X-Boost(Tier: 5)"}, [41] = {name = "X-Boost(Tier: 6)"}, [42] = {name = "X-Boost(Tier: 7)"}, } local yhelds = { [1] = {name = "Y-Regeneration(Tier: 1)"}, [2] = {name = "Y-Regeneration(Tier: 2)"}, [3] = {name = "Y-Regeneration(Tier: 3)"}, [4] = {name = "Y-Regeneration(Tier: 4)"}, [5] = {name = "Y-Regeneration(Tier: 5)"}, [6] = {name = "Y-Regeneration(Tier: 6)"}, [7] = {name = "Y-Regeneration(Tier: 7)"}, [8] = {name = "Y-Cure(Tier: 1)"}, [9] = {name = "Y-Cure(Tier: 2)"}, [10] = {name = "Y-Cure(Tier: 3)"}, [11] = {name = "Y-Cure(Tier: 4)"}, [12] = {name = "Y-Cure(Tier: 5)"}, [13] = {name = "Y-Cure(Tier: 6)"}, [14] = {name = "Y-Cure(Tier: 7)"}, } function onLook(cid, thing, position, lookDistance) local str = {} if not isCreature(thing.uid) then local iname = getItemInfo(thing.itemid) if isPokeball(thing.itemid) and getItemAttribute(thing.uid, "poke") then unLock(thing.uid) local lock = getItemAttribute(thing.uid, "lock") local pokename = getItemAttribute(thing.uid, "poke") local heldx = getItemAttribute(thing.uid, "heldx") local heldy = getItemAttribute(thing.uid, "heldy") table.insert(str, "You see "..iname.article.." "..iname.name..".") if getItemAttribute(thing.uid, "unique") then table.insert(str, " It's an unique item.") end if getItemAttribute(thing.uid, "ehditto") == 1 then table.insert(str, "\nIt contains "..getArticle(pokename).." "..pokename.." (Ditto).\n") else table.insert(str, "\nIt contains "..getArticle(pokename).." "..pokename..".\n") end if lock and lock > 0 then table.insert(str, "It will unlock in ".. os.date("%d/%m/%y %X", lock)..".\n") end local boost = getItemAttribute(thing.uid, "boost") or 0 if boost > 0 then table.insert(str, "Boost level: +"..boost..".\n") end if getItemAttribute(thing.uid, "nick") then table.insert(str, "It's nickname is: "..getItemAttribute(thing.uid, "nick")..".\n") end if heldx and heldy then table.insert(str, "Holding: "..(xhelds[heldx].name).." and "..(yhelds[heldy].name)..". ") elseif heldx then table.insert(str, "Holding: "..(xhelds[heldx].name)..". ") elseif heldy then table.insert(str, "Holding: "..(yhelds[heldy].name)..". ") end if getItemAttribute(thing.uid, "gender") == SEX_MALE then table.insert(str, "It is male.") elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE then table.insert(str, "It is female.") else table.insert(str, "It is genderless.") end local boosts = getItemAttribute(thing.uid, "boost") or 0 local precocertos = 0 if boosts > 50 then precocertos = ((gastostones[50] * 5) * 400) + ((boosts - 50) * 100000) else precocertos = ((gastostones[boosts] * 5) * 400) end if getItemAttribute (thing.uid, "ehditto") then pokename = "Ditto" end local pokeCost = pokePrice[pokename] or math.floor(pokes[pokename].level * 150) if pokename == "Ditto" then table.insert (str, " Not sellable.") elseif pokes[pokename] then if boosts == 0 then table.insert (str, " Price: $"..pokeCost) else table.insert (str, " Price: $"..pokeCost.. " + $"..precocertos.. " (BOOST)") end end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false elseif string.find(iname.name, "fainted") or string.find(iname.name, "defeated") then table.insert(str, "You see a "..string.lower(iname.name)..". ") if isContainer(thing.uid) then table.insert(str, "(Vol: "..getContainerCap(thing.uid)..")") end table.insert(str, "\n") if getItemAttribute(thing.uid, "gender") == SEX_MALE then table.insert(str, "It is male.") elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE then table.insert(str, "It is female.") else table.insert(str, "It is genderless.") end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false elseif isContainer(thing.uid) then --containers if iname.name == "dead human" and getItemAttribute(thing.uid, "pName") then table.insert(str, "You see a dead human (Vol:"..getContainerCap(thing.uid).."). ") table.insert(str, "You recognize ".. getItemAttribute(thing.uid, "pName")..". ".. getItemAttribute(thing.uid, "article").." was killed by a ") table.insert(str, getItemAttribute(thing.uid, "attacker")..".") else table.insert(str, "You see "..iname.article.." "..iname.name..". (Vol:"..getContainerCap(thing.uid)..").") end if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then table.insert(str, "\nItemID: ["..thing.itemid.."]") local pos = getThingPos(thing.uid) table.insert(str, "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]") end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false elseif NPCPrice[iname.name] then local qnt = 0 if thing.type == 0 then qnt = 1 else qnt = thing.type end local p = getThingPos(thing.uid) local calculo = NPCPrice[iname.name].price * qnt table.insert(str, "You see ") if thing.type > 1 then table.insert(str, thing.type.." "..iname.plural..".") else table.insert(str, iname.article.." "..iname.name..".") end table.insert(str, "\n"..iname.description.." Price: $"..calculo..".") if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then table.insert(str, "\nItemID: ["..thing.itemid..]") table.insert(str, "\nPosition: ["..p.x..]["..p.y.."]["..p.z.."]) end sendMsgToPlayer(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false else return true end local p = getThingPos(thing.uid) table.insert(str, "You see ") if thing.type > 1 then table.insert(str, thing.type.." "..iname.plural..".") else table.insert(str, iname.article.." "..iname.name..".") end table.insert(str, " It's an unique item.\n"..iname.description) if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then table.insert(str, "\nItemID: ["..thing.itemid.."]") table.insert(str, "\nPosition: ["..p.x.."]["..p.y.."]["..p.z.."]") end sendMsgToPlayer(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false else return true end end local npcname = getCreatureName(thing.uid) if ehNPC(thing.uid) and NPCBattle[npcname] then --npcs duel table.insert(str, "You see "..npcname..". "..NPCBattle[npcname].artig.." leader of the gym from "..NPCBattle[npcname].cidbat..".") doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false end if getPlayerStorageValue(thing.uid, 697548) ~= -1 then table.insert(str, getPlayerStorageValue(thing.uid, 697548)) local pos = getThingPos(thing.uid) if youAre[getPlayerGroupId(cid)] then table.insert(str, "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]") end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false end if not isPlayer(thing.uid) and not isMonster(thing.uid) then --outros npcs table.insert(str, "You see "..getCreatureName(thing.uid)..".") doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false end if isPlayer(thing.uid) then --player doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, getPlayerDesc(cid, thing.uid, false)) return false end if getCreatureName(thing.uid) == "Evolution" then return false end if not isSummon(thing.uid) then --monstros table.insert(str, "You see a wild "..string.lower(getCreatureName(thing.uid))..".\n") table.insert(str, "Hit Points: "..getCreatureHealth(thing.uid).." / "..getCreatureMaxHealth(thing.uid)..".\n") if getPokemonGender(thing.uid) == SEX_MALE then table.insert(str, "It is male.") elseif getPokemonGender(thing.uid) == SEX_FEMALE then table.insert(str, "It is female.") else table.insert(str, "It is genderless.") end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) return false elseif isSummon(thing.uid) and not isPlayer(thing.uid) then --summons local boostlevel = getItemAttribute(getPlayerSlotItem(getCreatureMaster(thing.uid), 8).uid, "boost") or 0 if getCreatureMaster(thing.uid) == cid then local myball = getPlayerSlotItem(cid, 8).uid table.insert(str, "You see your "..string.lower(getCreatureName(thing.uid))..".") if boostlevel > 0 then table.insert(str, "\nBoost level: +"..boostlevel..".") end table.insert(str, "\nHit points: "..getCreatureHealth(thing.uid).."/"..getCreatureMaxHealth(thing.uid)..".") table.insert(str, "\n"..getPokemonHappinessDescription(thing.uid)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str)) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see a "..string.lower(getCreatureName(thing.uid))..".\nIt belongs to "..getCreatureName(getCreatureMaster(thing.uid))..".") end return false end return true end
  7. Fawkzz12

    Alavanca

    eu quero que quando use alavanca, 20 do mesmo item da bag do player ira sumir e ele ganhara 1 item
  8. Fawkzz12

    Alavanca

    Queria que para usar essa alavanca, precisa-se de 20 itens de tal id, caso contrario não daria para usar
  9. Fawkzz12

    Usar Bike

    Queria um script que a bike fica unique item, não pode ser jogada fora nem nada.. function onUse(cid, item, frompos, itemEx, topos) local bike = {lookType = 1781} --- LookType do player em cima da bike. homem local bike1 = {lookType = 1781} --- LookType do player em cima da bike. mulher local speed = 999 --- Velocidade que a bike terá. if getPlayerStorageValue(cid, 32001) == 1 then doRemoveCondition(cid, CONDITION_OUTFIT) doChangeSpeed(cid, -speed) doSendAnimatedText(getCreaturePosition(cid), 'Robo Off', 35) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'Você desmontou do robo.') setPlayerStorageValue(cid, 32001, 0) else if getPlayerSex(cid) == 1 then -- homem doChangeSpeed(cid, speed) doSetCreatureOutfit(cid, bike, -1) doSendAnimatedText(getCreaturePosition(cid), 'Robo ON!', 32) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Você montou no robo.') setPlayerStorageValue(cid, 32001, 1) elseif getPlayerSex(cid) == 0 then -- homem doChangeSpeed(cid, speed) doSetCreatureOutfit(cid, bike1, -1) doSendAnimatedText(getCreaturePosition(cid), 'Robo ON!', 32) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Você montou no robo.') setPlayerStorageValue(cid, 32001, 1) end end return true end
  10. Galera, tentei adicionar mega absol no meu servidor, deu tudo certo, so que quando vou tentar puxar ele pro slot, ele fica invisivel e não da para soltar.. segue as imagens
  11. Fawkzz12

    You Cannot Dress

    Boa tarde, adicionei mega absol no meu servidor, só que não consigo mover ele para o slot.. fala you cannot dress this object here.. Ja adicionei o id do icon morto e vivo, sendo 14663 o vivo 14664 usando e 14665 morto..
  12. Fawkzz12

    Quando deslogo

    Quando eu deslogo, o Icon sistema fica pokebola normal..
  13. Fawkzz12

    Tutor BAN IP

    Como colocar um tutor para dar BAN IP, sendo que só ADMIN pode?
  14. function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, 990) >= 1 then doPlayerSendCancel(cid, "You can't use revive during gym battles.") return true end if getPlayerStorageValue(cid, 52481) >= 1 then return doPlayerSendCancel(cid, "You can't do that while a duel.") --alterado v1.6 end if item2.itemid <= 0 or not isPokeball(item2.itemid) then doPlayerSendCancel(cid, "Please, use revive only on pokeballs.") return true end local canto1 = {x=182, y=1121, z=15} -- Canto superior esquerdo do local local canto2 = {x=523, y=1320, z=15} -- Canto inferior direito do local if isInRange(getCreaturePosition(cid), canto1, canto2) then return doPlayerSendTextMessage(cid, 27, "Você não pode usar este item nessa área.") end local cooldownMoves = { ["Selfdestruct"] = 30, ["Selfdestruction"] = 30, } for a, b in pairs (pokeballs) do if item2.itemid == b.on or item2.itemid == b.off then --edited deixei igual ao do PXG doTransformItem(item2.uid, b.on) doSetItemAttribute(item2.uid, "hp", 1) local name = getItemAttribute(item2.uid, "poke") for c = 1, 15 do local str = "move"..c local move = movestable[name][str]; move = move and cooldownMoves[move.name] setCD(item2.uid, str, move or 0) end setCD(item2.uid, "control", 0) setCD(item2.uid, "blink", 0) --alterado v1.6 doSendMagicEffect(getThingPos(cid), 13) doRemoveItem(item.uid, 1) doCureBallStatus(item2.uid, "all") cleanBuffs2(item2.uid) --alterado v1.5 return true end end doCureStatus(cid, "all", true) cleanBuffs2(item2.uid) --alterado v1.5 if useOTClient then onPokeHealthChange(cid) --alterei aki end return true end Tentei no revive, mas não deu..
  15. Queria um Movements que seria proibido usar item ou entrar com item em tal area..
  16. se eu desmarco todas as coisas ficam preto e branco e bugadas
  17. Não sei se o lugar correto é aqui, mas estou tentando fazer de tudo, mas não consigo abrir o mapa no remeres Da esse problema - Could not read item id from item node
  18. Como abro no remeres? da erro item
  19. Não deu certo
  20. Reputado
  21. irei testar, qualquer coisa reputo
  22. Queria um script em que seria extremamento proibido tacar ball em tal pokemon apareceria a mensagem ''você não pode tacar ball nesse pokemon''
  23. e quem tipo, deixa o char parado no meio da hunt, ele vai estar em battle, e mesmo assim não desloga
  • Quem Está Navegando   0 membros estão online

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