Need help with coding
#10

Quote:
Originally Posted by hehu
I saw your example, i can't find the color for orange, as the "Player_Name"

Код:
public OnPlayerText(playerid,text[])
{
	new string[2][MAX_PLAYER_NAME];
	GetPlayerName(playerid,string[0],sizeof(string[]));
	GetPlayerName(playerid,string[1],sizeof(string[]));
	format(string[0],sizeof(string[]),"[%d]%s",playerid,string[0]);
	SetPlayerName(playerid,string[0]);
	SendPlayerMessageToAll(playerid,text);
	SetPlayerName(playerid,string[1]);
	return 0;
}
Text color is white and player name color is color of SetPlayerColor
Reply


Messages In This Thread
Need help with coding - by Elorreli - 21.06.2009, 19:20
Re: Need help with coding - by MadeMan - 21.06.2009, 19:31
Re: Need help with coding - by Elorreli - 21.06.2009, 19:33
Re: Need help with coding - by Correlli - 21.06.2009, 19:37
Re: Need help with coding - by Elorreli - 21.06.2009, 19:40
Re: Need help with coding - by [nl]daplayer - 21.06.2009, 19:44
Re: Need help with coding - by Elorreli - 21.06.2009, 19:46
Re: Need help with coding - by Joe Staff - 21.06.2009, 19:51
Re: Need help with coding - by Elorreli - 21.06.2009, 20:00
Re: Need help with coding - by [nl]daplayer - 21.06.2009, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)