#include <a_samp>
public OnPlayerText( playerid, text[ ] ) {
new iDots, iDDs, iNums;
for( new l = strlen( text ), p; p < l; ++p ) {
if( text[ p ] == \'.\' ) ++iDots;
if( text[ p ] == \':\' ) ++iDDs;
if( \'0\' <= text[ p ] <= \'9\' ) ++iNums;
}
if( iDots == 3 && iDDs == 1 && iNums >= 10 ) {
SendClientMessage( playerid, 0xFF0000AA, \"Ne itt reklámozz!\" );
return 0;
}
return 1;
}
ez nem enged ipt irni