18.01.2015, 05:13
Hello , following is my PlayerTextcolor code . It send the message in another color which player chooses . but it set playercolor to black . I want to remove this function . So that player color don't get black and will be the same .
Thanks to a Sa-mp member who gave me this code . I forgot his name.
PHP код:
new
temp_String[144],
temp_Nick[MAX_PLAYER_NAME];
GetPlayerName(playerid, temp_Nick, sizeof(temp_Nick));
format(temp_String, sizeof(temp_String), "%s : {%06x}%s", temp_Nick, g_PlayerChatCol[playerid] >>> 8, text);
SendClientMessageToAll(GetPlayerColor(playerid), temp_String);
return 0; //To avoid the original chat to be sent.