tess nekem hibátlan
[pawn]public OnPlayerText( playerid, text[ ] ) {
{
new iNums;
for( new x = 0; x < strlen( text ); ++x ) {
if( text[ x ] < \'0\' || text[ x ] > \'9\' ) continue;
++iNums;
}
if( iNums > 8 ) {
SendClientMessage( playerid, COLOR_RED, \"Ne hirdess te fogyatékos juh,kecske pásztor!\" );
}
}
new textstring[128];
format(textstring, sizeof(textstring), \"{00FF00}[%i] {FFFFFF}%s\", playerid, text);
SendPlayerMessageToAll(playerid, textstring);
return 0;
}[/pawn]