17.09.2010, 16:55
pawn Код:
new Tickcount[MAX_PLAYERS];
public OnPlayerText(playerid, text[])
{
if(GetTickCount() - Tickcount[playerid]) < 2000 && TickCount[playerid] != 0)
{
SendClientMessage(playerid, COLOR_RED, "Please don't flood.");
Tickcount[playerid] = GetTickCount();
return 0;
}
Tickcount[playerid] = GetTickCount();
return 1;
}

