13.01.2016, 09:57
so i created a chat message to show player id when he speaks
but i got a problem here it sends two messages one of them includes the id and the other one is not so i need to stop the default one from showing up out there ! thanks in advance!
pawn Код:
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(stringbig,sizeof(stringbig),"{%06x}%s{FFFFFF}(%d): %s",GetPlayerColor(playerid) >>> 8,string,playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid),stringbig);
format(stringbig,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
SetPlayerChatBubble(playerid,stringbig,MESSAGE_COLOR,35.0,10000);