Ir para conteúdo

Claudio14

Campones
  • Total de itens

    45
  • Registro em

  • Última visita

Tudo que Claudio14 postou

  1. cara, não deu, fiz de tudooooooooo, não funcionou '-' sério mesmo mano ;S @Edit Vou excluir tudo, e fazer tudo de novo pera 1 minuto @Edit Fiz tudo novamente certinho, conferi, mas não deu, =\ @Edit Cara, cara, cara, conseguiiiiiiiiiii,, maaas eu consegui colocando assim no xml <movevent type="StepIn" itemid="407" event="script" value="castle.lua"/> mas assim fica ruim, porque nao posso usar o piso 407 pra nada ... Sacou ? ;S Porque todos que eu usar vai aparecer a mensagem @Edit, cara, consegui *--* Vou te dar REP ((; vllw ai
  2. cara, no movements.xml coloca isso certo <movevent event="StepIn" actionid="13302" script="tile castle.lua" /> e no remeres esse actionid 13302 no tile... certo ?
  3. Cara me perdoa ;S Sério, foi mal =\ @Edit Afs, ninguém pode me ajudar ai ?
  4. Vou testar. @Edit Cara nem deu, não deu erro nenhum no Distro, mas não funcionou =\
  5. Alguém ajuda ai, eu queria que quando o player passasse por um determinado tile aparecesse uma mensagem pra todos online é claro... (É para o meu Castle) Quero que apareça o nome do player e a guild exemplo O(a) Player Nicolau Flanel da Guild [Red Devills] está invadindo o Castle 24horas;
  6. Alguem ajuda ai, olhem o video para entender melhor ... https://www.youtube.com/watch?v=kCCmz327jq4&feature=youtu.be
  7. Cara deu certo, só que nem o player com reset passa ...
  8. Eu já testei vários, só que os que testei não entra nem player com reset, nem sei reset -.-' Mas o tile funciona alguém poderia me ajudar ?? Eu quero um tile que só player com 3 Resets pudessem entrar. Meu system de reset function onSay(cid, words, param) --[Configurações de Condição]__ config = { --[[verdadeiro / Falso]] needPa = false, -- Precisa de Premium Account? [true / false] needPz = true, -- Precisa estar em Protection Zone? [true / false] battle = true, -- Precisa estar sem Batlle para Resetar? [true / false] withe = false, -- Players PK Withe pode Resetar? [true / false] red = true, -- Players PK Red pode Resetar? [true / false] tp = true, -- Teleportar para o Templo após o reset? [true / false] look = true, -- Mostrar Resets no Look do Player? [true / false] addLimite = false, -- Abilitar Limite de Resets? [true / false] setClasse = false, -- Mudar Vocação do player quando resetar? [true / false] storage = 4578, -- Storage [valor] --[Configurações do Reset]__ resetStatus = { player = getPlayerGUID(cid), -- Não Mude. lvl = 920 , -- Level Necessário para Resetar. [valor] lvlreset = 10, -- Level que retornará após o Reset. [valor] limite = 1, -- Máximo de resets que um player pode chegar. [valor] newClasse = 5, -- Id da Nova Vocação após o Reset. [valor] tempo= 1 -- Tempo para o Player deslogar para Resetar. Em segundos. [valor] }, } --[Funções]__ function Reseting(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doPlayerSetVocation(cid, config.resetStatus.newClasse) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `description` = ' [Reset "..resets.."]' WHERE `players`.`id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) return TRUE end function noAll(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `description` = '' WHERE `players`.`id` = "..config.resetStatus.player) return TRUE end function noTeleporting(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doPlayerSetVocation(cid, config.resetStatus.newClasse) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `description` = ' [Reset "..resets.."]' WHERE `players`.`id` = "..config.resetStatus.player) return TRUE end function noLook(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doPlayerSetVocation(cid, config.resetStatus.newClasse) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `description` = '' WHERE `players`.`id` = "..config.resetStatus.player) return TRUE end function noClasse(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `description` = ' [Reset "..resets.."]' WHERE `players`.`id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) return TRUE end function setClasse(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doPlayerSetVocation(cid, config.resetStatus.newClasse) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `description` = '' WHERE `players`.`id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) return TRUE end function look(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `description` = ' [Reset "..resets.."]' WHERE `players`.`id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) return TRUE end function teleporting(cid) resets = getResets(cid) setPlayerStorageValue(cid,config.storage,resets+1) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `description` = '' WHERE `players`.`id` = "..config.resetStatus.player) db.executeQuery("UPDATE `players` SET `level` = "..config.resetStatus.lvlreset..", `experience` = 0 WHERE `id` = "..config.resetStatus.player) return TRUE end function getResets(cid) resets = getPlayerStorageValue(cid,config.storage) if resets < 0 then resets = 0 end return resets end local resets = getResets(cid) local needLvl ="Você precisa de "..config.resetStatus.lvl-getPlayerLevel(cid).." level's para resetar." local msg ="~~[Reset: "..getResets(cid).."]~~ 'Sucesso ao Resetar! Você será deslogado em "..config.resetStatus.tempo.." Segundos." --[Condiçoes]__ if(config.needPz == true) and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then doPlayerSendTextMessage(cid,22,"Você Precisa estar em Protection Zone Para Resetar.") return TRUE elseif(config.addLimite == true) and (getResets(cid) == config.resetStatus.limite) then doPlayerSendTextMessage(cid, 22, "Você ja atingiu o Limite de Resets.") return TRUE elseif(config.withe == false) and (getCreatureSkullType(cid) == 3) then doPlayerSendTextMessage(cid,22,"Você ta PK White, por isso não pode resetar.") return TRUE elseif(config.red == false) and (getCreatureSkullType(cid) == 4) then doPlayerSendTextMessage(cid,22,"Você ta PK Red, por isso não pode resetar.") return TRUE elseif(config.needPa == true) and not isPremium(cid) then doPlayerSendTextMessage(cid,22,"Você Precisa ser Premium Account para Resetar.") return TRUE elseif(config.battle == true) and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid,22,"Você Precisa estar sem Battle para Resetar.") return TRUE elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == true) and (config.look == true) and (config.setClasse == true) then addEvent(Reseting, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == false) and (config.look == false) and (config.setClasse == false) then addEvent(noAll, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == false) and (config.look == true) and (config.setClasse == true) then addEvent(noTeleporting, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == true) and (config.look == false) and (config.setClasse == true) then addEvent(noLook, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == true) and (config.look == true) and (config.setClasse == false) then addEvent(noClasse, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == false) and (config.look == false) and (config.setClasse == true) then addEvent(setClasse, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == false) and (config.look == true) and (config.setClasse == false) then addEvent(look, config.resetStatus.tempo* 1000, cid) elseif getPlayerLevel(cid) >= config.resetStatus.lvl and (config.tp == true) and (config.look == false) and (config.setClasse == false) then addEvent(teleporting, config.resetStatus.tempo* 1000, cid) elseif doPlayerSendCancel(cid, needLvl) then doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return TRUE end if doPlayerPopupFYI(cid, msg) then end return TRUE end
  9. Caraaaa, que coisa mais obvia, mas é claro, é apenas colocar o UID igual afffffs kkkkkkkkkkkkkkkkk', Obrigadoooo cara, sério, tu é fera, obrigado aos dois ((;
  10. Eu queria saber como fazer quest igual da Anihi, tipo eu quero fazer uma quest de várias armas mas eu quero que cada player pegue apenas uma ...
  11. Suave, obg, vou fazer, vai demorar porque está muiiitooo complexo, porém bem explicado, parabéns xd
  12. Será que posso fazer isso daí com 9.8 ? '-'
  13. não cara, não, já tentei todos esses, vc nao entendeeu, meeeu ottt naaaaaaao teeeeeeeeeeeeeeeeem sistema vip, affs
  14. Pessoal eu já procurei em um monte de site achei váááarriooos sistema vip por item, mas o problema é que nem meu sistema vip eu sei, então eu queria saber se alguém pode me ajudar a fazer um SISTEMA VIP, e para adquirir essa vip precisa clikar em um item, obg ((;
  15. Praqe esse "/installvip ? --'
  16. Claudio14

    System Points

    Vodkart, como faço para poder adicionar points até mesmo quando o player estiver offline ?
  17. Aaaaaah, deeu, vlw manow, ((; podem fechar aew, dúvida sanada, e desculpem novamente postar na area errada ;S
  18. Oi pessoal, eu quero um script simples, pelo menos pra quem sabe fazer é simples, enfim, é um script que quando digita !notice, apareça uma janela na tela do player com coisas escritas, mas pra ele sair deve apertar o botao ok, nao é só a mensagem, não confundam, é pra aparecer uma telinha, acho que ja deu pra entender... Obg
  19. Cara, eu te amo, sério vlleew mesmo, rep ++ ((;
  20. Pooow cara, desculpa, eu nao tinha lido direito mesmo, obrigado, vou testar, qualquer coisa posto aqui ((; Edit@ Mano, só tem uma coisa errada, o npc fala assim ó 05:58 Capitao Chapar: Eu posso levá-lo a 'Sand', 'Inferi', 'Ice Key' ou 'Vip City'. Mas qualquer cidade que eu falar ele não fala mais nada ... E eu já editei os destinos, e tudo mais, ta td certin =\\ ajuda aeew
  21. cara mas esse Script teleporta só player vip para a cidade vip certo ?? mas eu quero um que teleporte free e vip, mas para a vip apenas player vip exemplo essa aq Ele teleporta todos normalmente, mas eu quero que para a VIP CITY, ele só teleporte jogadores vips ... <npc name="Capitao Foogic" script="data/npc/scripts/travel.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150"/> <look type="151" head="114" body="0" legs="107" feet="8" corpse="5" addons="3"/> <parameters> <parameter key="message_greet" value="Ola |PLAYERNAME|. Eu posso levar voce para Inferi e Vip City e Syots fale o nome da cidade que deseja ir. " /> <parameter key="module_travel" value="1" /> <parameter key="travel_destinations" value="syots,1001,947,6,200;inferi,657,1014,6,150;vip city,1528,745,6,50;" /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="job;name;offer;help;mission;quest" /> <parameter key="keyword_reply1" value="Eu sou o capitao deste navio." /> <parameter key="keyword_reply2" value="Meu nome e Foorgic. Por que a pergunta?" /> <parameter key="keyword_reply3" value="Eu posso te levar para varias cidades." /> <parameter key="keyword_reply4" value="Sou util para voce ?" /> <parameter key="keyword_reply5" value="Desculpe, nao consigo entender." /> <parameter key="keyword_reply6" value="Nao posso te ajudar, desculpe." /> </parameters> </npc> ta vendo ? Eu quero que aquela VIP CITY, é a única que eu quero que só player vip possa ir, o resto quero que todos possam usar ... Tendeu ?
  22. aeew pessoal eu queria um npc que teleporta player free vamos supor para Syots e Carlin é free entao ele teleporta só free e vip, aeew venore, já é só pra vip entenderam ?? Entao no caso o npc vai teleportar pra cidades free todos os player, e para a cidade vip, só player vips... Meu systema vip eu n sei, era vipdays, mas eu exclui e coloquei um ITEM como vip tlgd? pra quando clikar ganhar vip, alguém pode me falar como ver o systen vip ? edit# ta aew meu actions do item que da vip local cfg = { days = 30, } function onUse(cid, item, frompos, item2, topos) if doRemoveItem(item.uid, 1) then doPlayerAddPremiumDays(cid, cfg.days) doPlayerSendTextMessage(cid, 20, "Agora voce é Premium Account, relogue a Account para fazer efeito!") doSendAnimatedText(getCreaturePosition(cid), "PREMIUM", math.random(1, 255)) end return true end
  23. Alguém me ajuda esse script de reset quando da look nao mostra a quantidade de reset alguem poderia ajudar aew? function onSay(cid, words, param, channel) config = { RemainingLvl=8, exper=4200, pid=getPlayerGUID(cid), batle="yes" } function getPlayerResets(cid) resets = getPlayerStorageValue(cid,1020) if resets < 0 then resets = 0 end return resets end if (config.batle == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid,22,"Você Precisa estar sem Battle para Resetar.") return TRUE end if (getPlayerStorageValue(cid, 11548) >= os.time()) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED,"Por medidas de segurança você só pode utilizar este comando em " .. (getPlayerStorageValue(cid, 11548)-os.time()+(0)) .. " segundos.") return TRUE end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 85 then if getPlayerLevel(cid) >= 780 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 780 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 80 then if getPlayerLevel(cid) >= 730 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 730 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 75 then if getPlayerLevel(cid) >= 680 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 680 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 70 then if getPlayerLevel(cid) >= 630 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 630 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 65 then if getPlayerLevel(cid) >= 590 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 590 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 60 then if getPlayerLevel(cid) >= 550 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 550 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 55 then if getPlayerLevel(cid) >= 510 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 510.") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 50 then if getPlayerLevel(cid) >= 480 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 480 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 45 then if getPlayerLevel(cid) >= 450 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 450 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 40 then if getPlayerLevel(cid) >= 430 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 430 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 35 then if getPlayerLevel(cid) >= 410 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 410 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 30 then if getPlayerLevel(cid) >= 390 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 390") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 25 then if getPlayerLevel(cid) >= 380 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 380 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 20 then if getPlayerLevel(cid) >= 365 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 365 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 15 then if getPlayerLevel(cid) >= 360 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 360 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 10 then if getPlayerLevel(cid) >= 355 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 355 .") end end ---------------------------------------------------------------------------------------------------------------------------------------- if getPlayerStorageValue(cid,1020) < 5 then if getPlayerLevel(cid) >= 350 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 350 .") end end -- Resets Vips -- ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 85 then if getPlayerLevel(cid) >= 770 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 770 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 80 then if getPlayerLevel(cid) >= 720 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 720 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 75 then if getPlayerLevel(cid) >= 670 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 670 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 70 then if getPlayerLevel(cid) >= 620 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 620 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 65 then if getPlayerLevel(cid) >= 580 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 580 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 60 then if getPlayerLevel(cid) >= 540 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 540 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 55 then if getPlayerLevel(cid) >= 500 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 500 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 50 then if getPlayerLevel(cid) >= 470 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 470 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 45 then if getPlayerLevel(cid) >= 440 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 440 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 40 then if getPlayerLevel(cid) >= 420 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 420 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 35 then if getPlayerLevel(cid) >= 400 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 400 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 30 then if getPlayerLevel(cid) >= 380 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 380 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 25 then if getPlayerLevel(cid) >= 370 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 370 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 20 then if getPlayerLevel(cid) >= 360 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 360 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 15 then if getPlayerLevel(cid) >= 355 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 355 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 10 then if getPlayerLevel(cid) >= 340 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 340 .") end end end ---------------------------------------------------------------------------------------------------------------------------------------- if isPremium(cid) == TRUE then if getPlayerStorageValue(cid,1020) < 5 then if getPlayerLevel(cid) >= 330 then setPlayerStorageValue(cid,1020,getPlayerResets(cid)+1) setPlayerStorageValue(cid,11548,os.time()+30) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) db.executeQuery("UPDATE `players` SET `resets` = `resets` + 1 WHERE `id` = "..config.pid) else doPlayerSendCancel(cid,"Você precisa ter level 330 .") end end end return true end
  • Quem Está Navegando   0 membros estão online

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