Quote:
Originally Posted by heber
In OnPlayerText add:
pawn Код:
new ads;
for(new a, l = strlen(text); a < l; a++) { if (text[a] == ':' && d == 3) return ads++; if(ads == 3) return SendClientMessage(playerid,COLOR_RED,"Not Advertising!"); if (text[a] == '.' && d < 3) d++; if(ads == 3) return Ban(playerid); } return 1; }
Attention: Not Tested!
|
This shit doesn't works...