07.07.2010, 17:04
Eu queria saber como coloca para so poder dar /relatorio a cada 5 segundos ? Para nao ter mais floods .
new trelato[MAX_PLAYERS]; forward temporelato(playerid);
if (trelato[playerid] == 1)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Aguarde 5 segundos para usar o comando novamente");
return 1;
}
SetTimerEx("temporelato",5000,0,"i",playerid);
trelato[playerid] = 1;
public temporelato(playerid)
{
trelato[playerid] = 0;
}