[HELP] Name colors
#1

Hello, i'm all gone i cant figure out how to change players color, for example
Код:
	if(IsPlayerConnected(playerid))
		{
			if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
			{
SetPlayerColor(i,COLOR_COLOR_LIGHTBLUE);
					return 1;
	if(IsPlayerConnected(playerid))
		{
			if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2)
			{
SetPlayerColor(i,COLOR_COLOR_BLUE);
					return 1;
}
{
	if(IsPlayerConnected(playerid))
		{
			if(PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
			{
SetPlayerColor(i,COLOR_COLOR_RED);
					return 1;
}
{
Could that work?
Reply
#2

pawn Код:
SetPlayerColor(i,COLOR_COLOR_RED);
?
Reply
#3

Oh damn, its all wrong, could someone help me editting it? all i want is to change the color of a
if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1) //lightblue
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2) // blue

if(PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3) // red
Reply
#4

Any1 got a idea?
Reply
#5

Help you with what?..
Show the whole code, you can't expect to get help by showing parts from the code..
Reply
#6

Quote:
Originally Posted by MenaceX^
Help you with what?..
Show the whole code, you can't expect to get help by showing parts from the code..
thats simply what the whole color thing is i made it by hand,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)