new antispam[MAX_PLAYERS]; //OnPlayerConnect antispam[playerid] = GetTickCount(); //OnPlayerText if(GetTickCount() - antispam[playerid] < 5000)return SendClientMessage(playerid,-1,"You spam!"),0; antispam[playerid] = GetTickCount();