How to use GetPlayerColor with format.
#3

If you mean an embedded color, then the right thing to do is:
pawn Код:
format(string, sizeof(string), "{%06x}Hello!", (GetPlayerColor(playerid) >>> 8));
The right shift (the three chevrons) will strip off the alpha value.
Reply


Messages In This Thread
How to use GetPlayerColor with format. - by Mellnik - 20.01.2013, 12:08
Re: How to use GetPlayerColor with format. - by Income - 20.01.2013, 12:17
Re: How to use GetPlayerColor with format. - by Vince - 20.01.2013, 12:21
AW: Re: How to use GetPlayerColor with format. - by Mellnik - 20.01.2013, 12:22

Forum Jump:


Users browsing this thread: 2 Guest(s)