[Include] [INC] IST Color Handler - color up your script!
#8

Quote:
Originally Posted by Joe Staff
Do you make up for the fact (in your math) that any numbers above 0x7FFFFFFF is actually a negative number? (below 0)

pawn Код:
new Color1=0xFF000000
new Color2;
if(Color1>0x7FFFFFFF)
{
  Color2=Color1-0x7FFFFFFF;
  Color1=0x7FFFFFFF;
}
Color1+Color2 would equal 0xFF000000
my script currently (v0.0.1) does not handles the A in the ARGB... so the highest value it can reach is 0xFFFFFF
Reply


Messages In This Thread
[INC] IST Color Handler - color up your script! - by N1trO - 23.04.2010, 17:12
Re: [INC] IST Color Handler - color up your script! - by Amit_B - 23.04.2010, 17:15
Re: [INC] IST Color Handler - color up your script! - by Kurence - 23.04.2010, 17:20
Re: [INC] IST Color Handler - color up your script! - by N1trO - 23.04.2010, 17:47
Re: [INC] IST Color Handler - color up your script! - by BlueRey - 23.04.2010, 18:25
Re: [INC] IST Color Handler - color up your script! - by Joe Staff - 23.04.2010, 19:05
Re: [INC] IST Color Handler - color up your script! - by alf - 23.04.2010, 22:14
Re: [INC] IST Color Handler - color up your script! - by N1trO - 24.04.2010, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)