29.02.2016, 13:01
How to make to player can use chat only every 5 seconds
new antispam[MAX_PLAYERS];
//OnPlayerConnect
antispam[playerid] = GetTickCount();
//OnPlayerText
if(GetTickCount() - antispam[playerid] < 5000)return SendClientMessage(playerid,-1,"You spam!"),0;
antispam[playerid] = GetTickCount();