17.12.2012, 19:55
Hello, i have a Problem that i will that the Playerid is too screened, when a Guy type in the Chat, but when he type the normal Message come too without the Playerid, how can i remove the normal Message without the playerid?
Here are picture:
The Code from OnPlayerText:
Here are picture:
The Code from OnPlayerText:
Код:
new stringbig[356]; format(stringbig,sizeof(stringbig),"(%d): %s",playerid, text); SendPlayerMessageToAll(playerid,stringbig); if(strfind(text, ":", true) != -1) { new i_numcount, i_period, i_pos; while(text[i_pos]) { if('0' <= text[i_pos] <= '9') i_numcount ++; else if(text[i_pos] == '.') i_period ++; i_pos++; } }