Color help
#1

Hi, i made this sistem color who is saved in variable like this

PHP код:
new Color[16];//because I have 16 factions
then on a stock
stock PlayerColor
(factionid)
{
format(Color[1],40,"0xFFFFFFC8");
format(Color[2],40,"0x0080C0C8");//si tot asa
return Color[factionid];//returnez culoarea de care am nevoie
}
then onplayerspawn
SetPlayerColor
(playerid,PlayerColor(PlayerInfo[playerid][pMember])); 
But when I spawn on server if I have member 1 or 2 my color is black, thats code is blue and white

what is the problem?
Reply


Messages In This Thread
Color help - by Mister0 - 18.07.2016, 20:26
Re: Color help - by Misiur - 18.07.2016, 20:36
Re: Color help - by Mister0 - 18.07.2016, 20:48
Re: Color help - by Misiur - 18.07.2016, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)