Postado Agosto 11, 2014 10 anos Este é um post popular. Ola Galera Segue um Script Feito por mim, com ele você não precisa mais fica perguntando " Tae? tae? tae?" só usar esse comando e em 1 min ele é teleportado para o Templo! Regras : Você não pode usar em si mesmo, Somente pode usar no mesmo Player depois de 1hr, Somente Senior Tutor + podem usar o Comando. Segue o Talk : function CheckTime(cid) local storage_acusado = 526335 if isPlayer(cid) then if getPlayerStorageValue(cid, storage_acusado) ~= -1 then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) setPlayerStorageValue(cid, storage_acusado, -1) else return nil end else return nil end end function CheckBot(cid) local time = os.time() + 1 * 60 * 60 local storage = 526334 local storage_acusado = 526335 local storage_check = 526336 local storage_resp = (math.random(1, 9) + math.random(1, 9) * math.random(1, 9)) if getPlayerStorageValue(cid, storage) < os.time() then setPlayerStorageValue(cid, storage, time) setPlayerStorageValue(cid, storage_acusado, 1) setPlayerStorageValue(cid, storage_check, storage_resp) doPlayerPopupFYI(cid, "You have been accused of BOT 100% AFK, has 1 minute to Unblock such termination or will be teleported to the temple.\nSay !check remove, "..getPlayerStorageValue(cid, storage_check).."") addEvent(CheckTime, 60 * 1000, cid) else return false end return true end function onSay(cid, words, param, channel) local msg = "~~Talk Anti-Bot 100% Afk~~\n\n" local storage_acusado = 526335 local storage_check = 526336 local t = string.explode(param, ",") local player = getPlayerByName(t[2]) if param == "" then return doPlayerPopupFYI(cid, "Ex: /check add, "..getPlayerName(cid).."") elseif not isPlayer(player) then return doPlayerPopupFYI(cid, "Player is not online or does not exist") end if (t[1] and t[1] == "add") then if getPlayerByName(player) == getPlayerByName(cid) then doPlayerPopupFYI(cid, ""..msg.."You can not check yourself!") return true end if getPlayerAccess(cid) < 3 then doPlayerPopupFYI(cid, ""..msg.."Only Tutor, GM, ADM can do check!") return true end if CheckBot(player) == false then doPlayerPopupFYI(cid, ""..msg.."This Player has been verified!\n timeout check [1hr ~ 1hr].") end elseif (t[1] and t[1] == "remove") then if getPlayerStorageValue(cid, storage_acusado) == -1 then doPlayerPopupFYI(cid, ""..msg.."You are not being checked!") return true end if tonumber(t[2]) ~= getPlayerStorageValue(cid, storage_check) then doPlayerPopupFYI(cid, ""..msg.."Wrong Password!") else setPlayerStorageValue(cid, storage_acusado, -1) doPlayerPopupFYI(cid, ""..msg.."Thanks for Confirming!") end return true end return true end Talk.xml <talkaction words="!check;/check" event="script" value="NOMEDOARQUIVO.lua"/> Creditos? Emerson Henrique ( Só Posto Scripts Meus ) Até O Próximo Episodio Editado Agosto 11, 2014 10 anos por Emersonssss (veja o histórico de edições)
Postado Agosto 11, 2014 10 anos e um script bem interresante , ja vi em outros servidores reputado por trazer ao tk.
Postado Agosto 11, 2014 10 anos Autor e um script bem interresante , ja vi em outros servidores reputado por trazer ao tk. Show, parabéns newbie! Rep+ Obrigado!
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.