Color problem
#1

Hello I try to define the color of player like that
PHP код:
new Color[4];
stock PlayerColor(factionid)
{
    
format(Color[1],40,"0xFFFFFFC8");
    
format(Color[2],40,"0x0080C0C8");
    
format(Color[3],40,"0x0000A0C8");
    return 
1;

For see if color works I try to make this sendclientmessage, but , don't work is color black when he send me the message, whta is wrong?
PHP код:
format(string,123,"Color: %s ",PlayerColor(PlayerInfo[playerid][pMember]));
SendClientMessage(playerid,PlayerColor(PlayerInfo[playerid][pMember]),string); 
Reply


Messages In This Thread
Color problem - by Mister0 - 05.03.2016, 09:48
Re: Color problem - by Vince - 05.03.2016, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)