SetPlayerColor
#2

Quote:
Originally Posted by finelaq
Посмотреть сообщение
Hello!

I have problem with SetPlayerColor.

So first if player disconnect from the server it save's his color in mysql database.
Then if he connect's to the server it will load his color.
And if player spawn's then set's player color to his color.

Code:
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerColor(playerid, PlayerInfo[playerid][pColor]);
    print(PlayerInfo[playerid][pColor]);
    return 1;
}
It print:
0x0073E6FF

But my color in-game is black.

I don't know if im noob or what is the problem?
what COLOR you exactly want to be set?
Reply


Messages In This Thread
SetPlayerColor - by finelaq - 15.08.2015, 13:23
Re: SetPlayerColor - by Crystallize - 15.08.2015, 13:45
Re: SetPlayerColor - by finelaq - 15.08.2015, 13:49
Re: SetPlayerColor - by Andre02 - 15.08.2015, 14:00
AW: SetPlayerColor - by Macronix - 15.08.2015, 14:05
Re: AW: SetPlayerColor - by finelaq - 15.08.2015, 14:10
AW: SetPlayerColor - by Macronix - 15.08.2015, 14:31
Re: AW: SetPlayerColor - by finelaq - 16.08.2015, 17:54
AW: SetPlayerColor - by Macronix - 16.08.2015, 17:59

Forum Jump:


Users browsing this thread: 2 Guest(s)