17.03.2013, 15:07
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[128];
dcmd(siren,5,cmdtext);
SpamStrings[playerid] +=2;
if(SpamStrings[playerid] >= MAX_SPAM)
{
format(string,sizeof(string),"Please do not spam in %s. Please wait before typing again.",sabbv);
SendClientMessage(playerid, COLOR_ERROR, string);
return 1;
}
}