03.12.2008, 20:01
Almost gave, but failed, instead of the color out of the color of the nickname, it leaves black, regardless of the color of the player!
What could it be?
Code:
public OnPlayerText (playerid, text [])
{
new string[128];
new name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s: %s",name,text);
SendClientMessageToAll(GetPlayerColor(playerid),st ring);
return 0;
}
Thank you!
What could it be?
Code:
public OnPlayerText (playerid, text [])
{
new string[128];
new name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s: %s",name,text);
SendClientMessageToAll(GetPlayerColor(playerid),st ring);
return 0;
}
Thank you!