22.07.2015, 18:23
I would try to make something like this using OnPlayerCommandPerformed:
EDIT: I'm really sorry. I thought you want to make anti command flood. Well, you could use the same thing but only in other callback (OnPlayerText).
pawn Code:
new LastCommand[MAX_PLAYERS];
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(tickcount() - LastCommand[playerid] < interval)
return 0;
LastCommand[playerid] = tickcount();
return 1;
}