• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] TextDraw Don't change pos !! ?
#6
(2020-10-26, 10:15 AM)Expert* Wrote: https://www.open.mp/docs/scripting/funct...wForPlayer



Do TextDrawShowForPlayer( playerid, g_Player[playerid][td_fuel] ); to show "updated pos".



Quote:TIP



If you want to change the font of a textdraw that is already shown, you don't have to recreate it. Simply use TextDrawShowForPlayer/TextDrawShowForAll after modifying the textdraw and the change will be visible.




except that you can't change TD pos at all, there is no function for that.

You have to destroy existing one, create new and show it...

Oooor just use YSF 8)
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply


Messages In This Thread
TextDraw Don't change pos !! ? - by DaZzY - 2020-10-25, 06:43 PM
RE: TextDraw Don't change pos !! ? - by DaZzY - 2020-10-25, 08:44 PM
RE: TextDraw Don't change pos !! ? - by Josh - 2020-10-26, 12:08 AM
RE: TextDraw Don't change pos !! ? - by DaZzY - 2020-10-26, 02:44 AM
RE: TextDraw Don't change pos !! ? - by Expert* - 2020-10-26, 10:15 AM
RE: TextDraw Don't change pos !! ? - by Pinch - 2020-10-26, 10:34 AM

Forum Jump: