22.02.2010, 13:26
pawn Код:
forward TextdrawColorChange();
pawn Код:
SetTimer("TextdrawColorChange", 6000, 0);
pawn Код:
public TextdrawColorChange()
{
new Colors[] = { your colors };
for(new i = 0; i < MAX_PLAYERS; i++)
{
TextDrawHideForPlayer(i,your textdraw);
TextDrawColor(Textdraw0,Colors[random(sizeof(Colors))]);
TextDrawShowForPlayer(i,your textdraw);
}
SetTimer("TextdrawColorChange", 6000, 0);
}