[Help] HEX To HTML?
#3

Код:
stock GetHTMLColor(hex[])
{
        if(strlen(hex) != 10) return print("Invalid hex code");
	new html[7];
	strmid(html,hex,2,8);
	return html;
}
Try this, didn't test tho.
Reply


Messages In This Thread
[Help] HEX To HTML? - by Equality - 28.03.2015, 20:09
Re: [Help] HEX To HTML? - by nicholasramdhan - 28.03.2015, 20:27
Re: [Help] HEX To HTML? - by zaibaslr2 - 28.03.2015, 20:32
Respuesta: Re: [Help] HEX To HTML? - by CuervO - 28.03.2015, 21:43
Re: Respuesta: Re: [Help] HEX To HTML? - by Equality - 28.03.2015, 22:26
Re: [Help] HEX To HTML? - by Vince - 28.03.2015, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)