Not tested.
Code:
new td_timer_id;
new Float:td_x_amount;
new Text:Textdraw;
forward TextdrawMove();
main() {
? ? Textdraw = TextDrawCreate(0.0, 430.0, "This is an example textdraw");
? ? td_timer_id = SetTimer("TextdrawMove", 100, true);
}
public TextdrawMove() {
? ? td_x_amount = 10.0;
? ? if(td_x_amount >= 644.0)
? ? ? ? td_x_amount = 0.0;
? ? TextDrawDestroy(Textdraw);
? ? Textdraw = TextDrawCreate(td_x_amount, 430.0,?"This is an example textdraw");
? ? foreach(new i: Player)
? ? ? ? TextDrawShowForPlayer(i, Textdraw);
}