Auto-Color changing TextDraw
#1

Hi, I want to create a textdraw which is chaning it's color by itself on 60 seconds.
Can somebody help me to do it ? (an example:1st "Text" will be white and "Draw" blue and after a minute to change "Text" in yellow and "Draw" in red")
Here is what I created:
pawn Код:
new Text:Text1;
public OnGameModeInit()
{
    Text1=TextDrawCreate(25.000000, 420.000000, "Text Draw");
    TextDrawColor(Text1,0xFFFFFFFF);
    TextDrawSetShadow(Text1,0);
    TextDrawSetOutline(Text1,1);
    TextDrawLetterSize(Text1,0.5,1.5);
    TextDrawBackgroundColor(Text1,0x00000040);
    TextDrawFont(Text1,1);
}
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Info);
return 1;
}
Reply


Messages In This Thread
Auto-Color changing TextDraw - by x96664 - 30.07.2012, 14:46
Re: Auto-Color changing TextDraw - by Misiur - 30.07.2012, 15:12
Re: Auto-Color changing TextDraw - by x96664 - 30.07.2012, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)