tessék én ezt használom és jo
[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 Mert Megjárod\" );
}
}
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(text,256,\"%s(%i) {FFFFFF}%s\",pName, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid),text);
return 0;
}[/pawn]