03.08.2018, 19:57
Use X to define a Hexadecimal value.
https://sampwiki.blast.hk/wiki/Format
PHP код:
new color;
sscanf(inputtext, "x", color);
new color;
sscanf(inputtext, "x", color);