30.07.2012, 14:46
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:
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;
}