13.07.2012, 20:10
pawn Код:
#include <a_samp>
#include <zcmd>
#define TEMPO_GMX 43200000 // Defina para o tempo que desejar !
#define COR_VERMELHO 0xFF0000AA
new Tempo;
public OnFilterScriptInit()
{
Tempo = SetTimer("GMXAutomatico",TEMPO_GMX,false);
return 1;
}
forward GMXAutomatico(playerid)
public GMXAutomatico(playerid)
{
GameTextForAll("~b~GMX~n~~w~Automatico", 5000, 1);
SendClientMessageToAll(COR_VERMELHO, "[LC-GMX] GMX Automбtico sendo efetuado ! Aguarde para logar !");
printf("[LC-GMX] GMX Automбtico efetuado !");
SendRconCommand("gmx");
return 1;
}
forward LimparChatAll(linhas);
public LimparChatAll(linhas)
{
for(new i=0; i<linhas; i++)
{
SendClientMessageToAll(-1, " ");
}
return 1;
}
CMD:creditoslcgmx(playerid, params[])
{
SendClientMessage(playerid, COR_VERMELHO, "[LC-GMX] Sistema de GMX Automбtico");
SendClientMessage(playerid, COR_VERMELHO, "Criado por Lucas Carneiro™ !");
return 1;
}
e eu poderia ter economizado bastante ai .
Cуdigo Ъtil .