#8

This is a quick example of how to turn the output of GetPlayerColor into a valid color code.
pawn Код:
format(string, sizeof(string), "{%06x}", (GetPlayerColor(playerid) >>> 8));
Reply


Messages In This Thread
? - by Gh0sT_ - 22.08.2011, 13:28
Re: ? - by iMonk3y - 22.08.2011, 13:47
Re: ? - by Gh0sT_ - 22.08.2011, 17:52
Re: ? - by Riddick94 - 22.08.2011, 17:56
Re: ? - by RyDeR` - 22.08.2011, 18:09
Re: ? - by Gh0sT_ - 22.08.2011, 18:34
Re: ? - by Gh0sT_ - 24.08.2011, 16:22
Re: ? - by AndreT - 24.08.2011, 16:27
Re: ? - by iMonk3y - 24.08.2011, 16:29
Re: ? - by Gh0sT_ - 24.08.2011, 16:30

Forum Jump:


Users browsing this thread: 5 Guest(s)