07.05.2011, 14:09
Fiz isto aqui:
Mas nгo estб funcionando ... Eu digito /rcon gmx, o servidor reinicia, mas nгo mostra as mensagens.
pawn Код:
public OnRconCommand(cmd[])
{
if(strcmp(cmd,"gmx",true))
{
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_YELLOW, "[BRL] O servidor foi reiniciado. Aguarde alguns segundos para entrar novamente!");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_RED, "[BRL] O servidor foi reiniciado. Aguarde alguns segundos para entrar novamente!");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(COLOR_GREEN, "[BRL] O servidor foi reiniciado. Aguarde alguns segundos para entrar novamente!");
SendClientMessageToAll(COLOR_WHITE, " ");
SendClientMessageToAll(BLUE, "[BRL] O servidor foi reiniciado. Aguarde alguns segundos para entrar novamente!");
SendClientMessageToAll(COLOR_WHITE, " ");
GameTextForAll("~g~RE~r~INI~b~CIAN~y~DO ~g~SER~r~VI~b~DOR", 10000, 0);
return 1;
}
return 1;
}