14.11.2016, 19:53
HexToRGB merges 3 values: red, green, blue (0 - 255 or 0x00 - 0xFF)
PHP код:
HexToRGB(&color,red,green,blue);
PHP код:
new color;
HexToRGB(color,255,0,0);
SetPlayerColor(playerid,RGBToRGBA(color,0xFF));