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kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
  3. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk , tudo fake né ? kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
  4. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk #Nábooka Gayzage ¬¬'
  5. Sim, só renomiei , isso só seria bom para ficar mais facil decorar
  6. Olá galera , eu estou postando umas functions , elas nao sao novas , mais encurtam voce de escrever. Vá em Data/Lib , crie um arquivo chamado : arton functions.lua , e lá dentro adicione : function addItem(cid,item,count) doPlayerAddItem(cid,item,count) end function removeItem(cid,item,count) doPlayerRemoveItem(cid,item,count) end function getItem(cid,item) getPlayerItemCount(cid,item) end function msgPlayer(cid,cor,msg) doPlayerSendTextMessage(cid,cor,msg) end function getStorage(cid,storage) getPlayerStorageValue(cid,storage) end function setStorage(cid,storage,valor) setPlayerStorageValue(cid,storage,valor) end function doCancel(cid,msg) doPlayerSendCancel(cid,msg) end function doEffect(pos,effect) doSendMagicEffect(pos,effect) end Funçoes : addItem(cid,item,count) -- exemplo : addItem(cid,2160,100) . <= irá adicionar ao player 100 crystal coins removeItem(cid,item,count) -- exemplo : removeItem(cid,2160,100) . <= irá remover do player 100 crystal coins getItem(cid,item) -- exemplo : getitem(cid,2160) >= 100 . <= irá checar se o player tem 100 ou mais crystal coins msgPlayer(cid,cor,msg) -- exemplo : msgPlayer(cid,27,"Olá") . <= irá enviar uma menssagem azul no defaut escrito "Olá" getStorage(cid,storage) -- exemplo : getStorage(cid,21111) > 0 <= irá checar se essa storage é maior doq 0 setStorage(cid,storage,valor) -- exemplo : setStorage(cid,21111,1) <= irá adicionar o valor 1 dessa storage doCancel(cid,msg) -- exemplo : doCancel(cid,"Voce nao pode fazer isso.") <= irá enviar uma menssagem branca doEffect(pos,effect) -- exemplo : doEffect({x=2161, y=1234, z=7}, 35) <= irá enviar um efeito nessa POSITION Espero que ajude :0
  7. tonyplyson postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    legal , tópico bem organizado , conteudo legal , REP+
  8. tonyplyson postou uma resposta no tópico em Playground (Off-topic)
    eu axei q ocê fosse muié '-'
  9. function onUse(cid,item,item2,topos,frompos,pos) local storages = {10101,10102,10103,10104,10105,10106,10107,10108,10109,10110} if stoorage(cid,storages[1]) <= 0 and stoorage(cid,storages[2]) <= 0 and stoorage(cid,storages[3]) <= 0 and stoorage(cid,storages[4]) <= 0 and stoorage(cid,storages[5]) <= 0 then if stoorage(cid,storages[6]) <= 0 and stoorage(cid,storages[7]) <= 0 and stoorage(cid,storages[8]) <= 0 and stoorage(cid,storages[9]) <= 0 and stoorage(cid,storages[10]) <= 0 then setPlayerStorageValue(cid,storages[1],1) setPlayerStorageValue(cid,storages[2],1) setPlayerStorageValue(cid,storages[3],1) setPlayerStorageValue(cid,storages[4],1) setPlayerStorageValue(cid,storages[5],1) setPlayerStorageValue(cid,storages[6],1) setPlayerStorageValue(cid,storages[7],1) setPlayerStorageValue(cid,storages[8],1) setPlayerStorageValue(cid,storages[9],1) setPlayerStorageValue(cid,storages[10],1) doPlayerSendTextMessage(cid,27,"Voce ganhou uma porrada de storages, parabéns.") else doPlayerSendTextMessage(cid,27,"Voce já tem essas storages.") end return true end end
  10. Mais ja está os levels '-' , é so por entre [ ]
  11. <?xml version="1.0" encoding="UTF-8"?> <mod name="command-bank" version="1.0" author="slawkens" contact="[email protected]" enabled="yes"> <config name="command-bank-config"><![CDATA[ transferDisabledVocations = {0} -- disable non vocation characters ]]></config> <talkaction words="!bank" event="script"><![CDATA[ domodlib('command-bank-config') local config = { transferDisabledVocations = transferDisabledVocations } local function validAmount(amount) return (isNumber(amount) and amount > 0 and amount < 4294967296) end local function getAmount(amount, cid, f) return (amount == 'all' and f(cid) or tonumber(amount)) end local function getPlayerVocationByName(name) local result = db.getResult("SELECT `vocation` FROM `players` WHERE `name` = " .. db.escapeString(name)) if(result:getID() == -1) then return false end local value = result:getDataString("vocation") result:free() return value end function onSay(cid, words, param, channel) if(param == '') then doPlayerPopupFYI(cid, "Bank management manual.\n\n" .. "!bank balance - show your account balance\n" .. "!bank deposit 100 - deposit 100 gold\n" .. "!bank withdraw 50 - withdraw 50 gold\n" .. "!bank transfer 30 God - transfer 30 gold to player God\n\n" .. "Tip: you can also use 'all' as amount.\n" .. "!bank deposit all - deposit all gold you have\n" .. "!bank withdraw all - withdraw all gold from your bank account" ) return true end local t = string.explode(param, " ", 2) local command = t[1]:lower() if(command == 'balance') then doPlayerSendCancel(cid, "Your account balance is " .. getPlayerBalance(cid) .. " gold.") elseif(command == 'deposit') then if(not t[2]) then doPlayerSendCancel(cid, "Amount is required.") return true end local amount = getAmount(t[2], cid, getPlayerMoney) if(validAmount(amount) and getPlayerMoney(cid) >= amount and doPlayerDepositMoney(cid, amount)) then doPlayerSendCancel(cid, amount .. " gold has been deposited.") else doPlayerSendCancel(cid, "Not enough money to deposit.") end elseif(command == 'withdraw') then if(not t[2]) then doPlayerSendCancel(cid, "Amount is required.") return true end local amount = getAmount(t[2], cid, getPlayerBalance) if(validAmount(amount) and getPlayerBalance(cid) >= amount and doPlayerWithdrawMoney(cid, amount)) then doPlayerSendCancel(cid, amount .. " gold has been withdrawn.") else doPlayerSendCancel(cid, "Not enough money to withdraw.") end elseif(command == 'transfer') then if(not t[2]) then doPlayerSendCancel(cid, "Amount is required.") return true end if(not t[3]) then doPlayerSendCancel(cid, "Player name to transfer is required.") return true end local amount, target = tonumber(t[2]), t[3] if(getPlayerGUID(cid) == getPlayerGUIDByName(target)) then doPlayerSendCancel(cid, "You cannot transfer money to yourself.") elseif(isInArray(config.transferDisabledVocations, getPlayerVocation(cid))) then doPlayerSendCancel(cid, "Your vocation cannot transfer money.") elseif(not validAmount(amount) or getPlayerBalance(cid) < amount) then doPlayerSendCancel(cid, "Not enough money to transfer.") else local targetVocation = getPlayerVocationByName(target) if(not playerExists(target) or not targetVocation or isInArray(config.transferDisabledVocations, targetVocation) or not doPlayerTransferMoneyTo(cid, target, amount)) then doPlayerSendCancel(cid, "This player does not exist on this world or have no vocation.") else doPlayerSendCancel(cid, "You have transferred " .. amount .. " gold to \"" .. target .."\".") end end else doPlayerSendCancel(cid, "Invalid command usage. Use '!bank' to view manual.") end return true end ]]></talkaction> </mod> !bank balance - mostra quanto de dinheiro você tem !bank deposit 100 - deposita 100 gold !bank withdraw 50 - retira 50 gold !bank transfer 30 God - transfere 30 gold para o player God !bank deposit all - deposita todo seu dinheiro !bank withdraw all - retira todo o seu dinheiro Créditos: slawkens OBS : ISSO É 1 MOD
  12. Eu só deixei o sistema de adicionar o dinheiro por level , toma ai local t = { [20] = {item = 2160,quant = 1,msg = "Parabéns, você chegou ao level 20 e ganhou 10k + 29 leveis!",storage = 10101}, [70] = {item = 2160,quant = 2,msg = "Parabéns, você chegou ao level 70 e ganhou 20k!"storage = 10102}, [125] = {item = 2160,quant = 10,msg = "Parabéns, você chegou ao level 125 e ganhou 100k!"storage = 10103}, [200] = {item = 2160,quant = 15,msg = "Parabéns, você chegou ao level 200 e ganhou 200k!"storage = 10104}, [300] = {item = 2160,quant = 20,msg = "Parabéns, você chegou ao level 300 e ganhou 300k!"storage = 10105}, } function onAdvance(cid, skill, oldlevel, newlevel) local level = getPlayerLevel(cid) if skill == 8 then if getPlayerStorageValue(cid,t[level].storage) <= 0 and level >= t[level] then doPlayerAddItem(cid,t[level].item,t[level].quant) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, t[level].msg) end return true end end
  13. Só para lembrar , que o look não será em todos os items , só será em equipamentos e players .
  14. Olha , para bloquiar a magia use , (Debaixo de onCastSpell) atacado = getCreatureTarget(cid) time = 5 -- Tempo em segundos que o player ficaraá silenciado if getPlayerStorageValue(atacado,90909) > 0 then return doPlayerSendTextMessage(cid,27,"Esse player ja está silenciado") end local function tirarStorage(cid) setPlayerStorageValue(atacado,90909,-1) doPlayerSendTextMessage(atacado,27,"Voce nao está mais silenciado") end setPlayerStorageValue(atacado,90909,1) doPlayerSendTextMessage(atacado,27,"Voce foi silenciado") addEvent(function() tirarStorage(cid) end,time*1000) Agora para as magias que irão ficar bloquiadas , debaixo de (onCastSpell) adicione : if getPlayerStorageValue(cid,90909) > 0 then return doPlayerSendTextMessage(cid,27,"Voce está silenciado") end
  15. tonyplyson postou uma resposta no tópico em Portal
    kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk , tbm tenho vontad d te dar um tiro FIDEPE '-'
  16. para adicionar a magia para remover , uma carga . , adicione isso no seu spell Abaixo de doCastSpell , adicione if getPlayerItemCount(cid,xxxx) <= 0 then return doPlayerSendTextMessage(cid,27,"You dont have charge for use the spell") end doPlayerRemoveItem(cid,xxxx,1) doCombat......
  17. Aqui naum xego nada. , me mande seu MSN
  18. *Nome / Nick: Tony PlySon / Tony.PlySon Idade: 15 *Cargo: Scripter *Tempo de Experiencia no cargo: O Suficiente para criar script Já participou de outras equipes? : Sim , sou o dono do Arton-ATS (www.facebook.com/ArtonATS) Porque eu quero entrar na equipe : Ocupar meu tempo MSN : [email protected]
  19. Seria só voce arrumar o ID ali , para o ID do aol '-'
  20. Ela muda o seu efeito , quando voce ataca

Informação Importante

Confirmação de Termo