04.03.2017, 14:52
Код:
public OnPlayerText(playerid,text[]) { new pname[MAX_PLAYER_NAME], stringOs[128]; GetPlayerName(playerid, pname, sizeof(pname)); if (!strcmp(text,"@",true,1)) { strdel(text,0,1); format(stringOs,sizeof(stringOs)," %s(%d): {FFFFFF}%s.",pname,playerid,text); SendClientMessageToAll(COLOR_WHITE,stringOs); return 0; } format(string, sizeof(string), "%s: %s", pname, text); SendLocalMessage(playerid, COLOR_WHITE, 7,stringOs); return 0; }