Sistema de AFK/ON automatico
Página 1 de 1
Sistema de AFK/ON automatico
Eae Galera hj trago esta simples funcao mas que quase ninguem sabe de sua existencia tirando a funcao o resto eu criei ... espero que funcione dboa
function onPlayerAwayChange ( player, newStatus )
{
local text1 = "Minimizou o jogo";
local text2 = "Reabriu o jogo";
if ( newStatus == true )
{
Message( "[#A020F0]O Jogador: " + player.Name + " Esta ausente. Motivo: " + text1 );
EchoMessage( "7O Jogador: 10" + player.Name + " 7Esta ausente. Motivo:10 " + text1 );
}
else if ( newStatus == false )
{
Message( "[#A020F0]O Jogador: " + player.Name + " Voltou ao servidor . Motivo: " + text2 );
EchoMessage( "7O Jogador: 10" + player.Name + " 7Voltou ao servidor . Motivo:10 " + text2 );
}
}
function onPlayerAwayChange ( player, newStatus )
{
local text1 = "Minimizou o jogo";
local text2 = "Reabriu o jogo";
if ( newStatus == true )
{
Message( "[#A020F0]O Jogador: " + player.Name + " Esta ausente. Motivo: " + text1 );
EchoMessage( "7O Jogador: 10" + player.Name + " 7Esta ausente. Motivo:10 " + text1 );
}
else if ( newStatus == false )
{
Message( "[#A020F0]O Jogador: " + player.Name + " Voltou ao servidor . Motivo: " + text2 );
EchoMessage( "7O Jogador: 10" + player.Name + " 7Voltou ao servidor . Motivo:10 " + text2 );
}
}
D.victor- Mensagens : 11
Pontos : 27
Reputação : 0
Data de inscrição : 12/06/2015
D.victor- Mensagens : 11
Pontos : 27
Reputação : 0
Data de inscrição : 12/06/2015
Tópicos semelhantes
» Sistema de Objetos v0.2 | Sistema de Portões v0.1
» Sistema de Corrida
» Sistema Multilang
» SISTEMA DE ROUBO
» Sistema de Casa
» Sistema de Corrida
» Sistema Multilang
» SISTEMA DE ROUBO
» Sistema de Casa
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|