FF0000 > 0xFF0000FF
#2

pawn Код:
new
    color_str[ 7 ] = "FF0000"
;

// ---

new
    hex_str[ 11 ],
    color
;
format( hex_str, sizeof( hex_str ), "0x%sFF", color_str );
sscanf( hex_str, "x", color );
SendClientMessageToAll( color, "text" );
Reply


Messages In This Thread
FF0000 > 0xFF0000FF - by CamperGTA - 09.10.2013, 09:35
Re: FF0000 > 0xFF0000FF - by Konstantinos - 09.10.2013, 09:52
Re: FF0000 > 0xFF0000FF - by CamperGTA - 09.10.2013, 09:58
Re: FF0000 > 0xFF0000FF - by BJIADOKC - 11.10.2013, 01:41
Re: FF0000 > 0xFF0000FF - by CamperGTA - 11.10.2013, 10:19
Re: FF0000 > 0xFF0000FF - by MacMailler - 11.10.2013, 10:42
Re: FF0000 > 0xFF0000FF - by Bombo - 12.10.2013, 19:04
Re: FF0000 > 0xFF0000FF - by BJIADOKC - 18.10.2013, 19:09
Re: FF0000 > 0xFF0000FF - by OKStyle - 19.10.2013, 03:33
Re: FF0000 > 0xFF0000FF - by BJIADOKC - 23.10.2013, 18:42

Forum Jump:


Users browsing this thread: 7 Guest(s)