• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] HELP! How to Make Moving, Running, Text Draw With Box ?
#4
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);

}
  Reply


Messages In This Thread
RE: HELP! How to Make Moving, Running, Text Draw With Box ? - by Radical - 2021-06-23, 07:37 PM

Forum Jump: