Quote:
Originally Posted by grand.Theft.Otto
I doubt that code is going to work and looks wrong.
Use this:
pawn Код:
new PlayerName[MAX_PLAYER_NAME]; // new variable to store the players name GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); // gets the name of PlayerName (the var we created) format(text, 1024, "%s (%d): {FFFFFF}%s", PlayerName, playerid, text); // formats the output of the message SendClientMessageToAll(GetPlayerColor(playerid), text); // sends the message to the whole server
|
Dont works!
When i type message this show up:
fiki574_CRO(0): Hi! ----------> black color
fiki574_CRO: fi ----------> fi? wtf i type hi! and it is in normal random color!