06.08.2011, 17:21
Quote:
pawn Код:
|
So in basic it is same as
pawn Код:
new Spam[MAX_PLAYERS];//On top
//Inside your command
if((gettime() - Spam[playerid]) < 3) return SendClientMessage(playerid,-1,"You are spamming!");
Spam[playerid] = gettime();
but do I need to put it in all my commands or there is faster way of doing this?