[Encerrado] Ajuda Aiow

Brisadao
em Tópicos Sem Resposta

Brisadao

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 14/08/12Posts: 9

Alguem Ai Pode me ajudar a Mudar a Mensagem do !afk on do meu ot quanto eu escrevo !afk on aparece em sima do meu nome AFK quero mudar essa mensagem ajuda aiow pf !

notle2012

uoʇן£
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 03/01/12Posts: 884Char no Tibia: Segredo

aposta scripts

fica em data\talkactions\scripts\afk.lua

qual quer coisa usa meu

  local time = 5    -- 1 = 1 sec, 2 = 2 sec, ...
        local say_events = {}
local function SayText(cid)
   if isPlayer(cid) == TRUE then
                if say_events[getPlayerGUID(cid)] ~= nil then
                        if isPlayer(cid) == TRUE then
                                doSendAnimatedText(getPlayerPosition(cid),"Ausente!", math.random(01,255))
                                doSendAnimatedText(getPlayerPosition(cid),"Fui No Banheiro!", math.random(01,255))
                                doSendAnimatedText(getPlayerPosition(cid),"Eu Sair!", math.random(01,255))
                        end
                        say_events[getPlayerGUID(cid)] = addEvent(SayText, time * 1000 / 2, cid)         
                end                                                                                                      
   end
   return TRUE
end
function onSay(cid, words, param, channel)
   if(param == '') then
         doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
        return true
        end
        if param == "on" then
           if isPlayer(cid) == TRUE then
                   doSendAnimatedText(getPlayerPosition(cid),"Ausente!", math.random(01,255))
           end
           say_events[getPlayerGUID(cid)] = addEvent(SayText, time * 1000, cid)
           doPlayerSendTextMessage(cid,MESSAGE_STATUS_WARNING,"You Now Stated you are (afk).")
        elseif param == "off" then
                   stopEvent(say_events[getPlayerGUID(cid)])
                   say_events[getPlayerGUID(cid)] = nil
                   doPlayerSendTextMessage(cid,MESSAGE_STATUS_WARNING,"You Now stated your are not (afk).")
   end
   return TRUE
end

Por Favor quando for fazer pedidos faz o pedido com mais clareza e com os mínimos detalhes
GOSTO DOS MEUS SCRIPT CLICK EM CURTIR :D

 

sistema de fome

TROCA TROCA

sistema coliseum by notle v1

new sistema [KILLER-UP]

 

 

jcLmJPT.png

Stigal

don't ever stop...
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 28/11/10Posts: 3402Gênero: Masculino
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.

VI6MDIG.png

 

"O fracasso é a oportunidade de se começar de novo inteligentemente"

Minhas Redes Sociais: Youtube | Página & Grupo | Steam  | Discord Xtibia | Skype: @mrooger

 

OTpanel