20.06.2013, 17:41
I made a thing so Union-Zone Changes 3 colors red,yellow,blue..but I cant make it work..
PHP код:
new LogoFlash=1;
PHP код:
if(LogoFlash==1)//then it will flash much:P
{
LogoFlash++;
TextDrawColor(Textdraw0,0xFF0000FF);
}
else if(LogoFlash==2)
{
TextDrawColor(Textdraw0,0xFFFF00FF);
}
else if(LogoFlash==3)
{
LogoFlash=1;
TextDrawColor(Textdraw0,0x1229FAFF);
}
PHP код:
Textdraw0 = TextDrawCreate(506.000000,95.000000,"Union-Zone"); // logo
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x00000033);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.480000, 1.799999);
TextDrawColor(Textdraw0,0xFF9900AA); // delete this?
TextDrawSetOutline(Textdraw0,false);
TextDrawSetProportional(Textdraw0,true);
TextDrawSetShadow(Textdraw0,1);