color: int to string (hex)
#3

I made stock for you:

Code:
stock GetHexColor( colorcode[ ] )
{
    new ColorString[128]:
    for(new i = 0; i < 11; i++ )
    {
        if ( colorcode[ i ] == '0x' )
        colorcode[ i ] = ' ';
    }
    return format(ColorString,sizeof(ColorString),"{%s}nice color",colorcode );
}
Reply


Messages In This Thread
color: int to string (hex) - by ATomas - 12.06.2013, 13:37
Re: color: int to string (hex) - by OrMisicL - 12.06.2013, 13:59
Re: color: int to string (hex) - by feartonyb - 12.06.2013, 13:59
Re: color: int to string (hex) - by ATomas - 13.06.2013, 07:55
Re: color: int to string (hex) - by ATomas - 13.06.2013, 07:58
Re: color: int to string (hex) - by ATomas - 13.06.2013, 09:49
Re: color: int to string (hex) - by Vince - 13.06.2013, 09:51
Re: color: int to string (hex) - by ATomas - 13.06.2013, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)