Moving Icon on textdraw
#2

You'll need to calculate the player position on the Map TextDraw, which depends on the Map's size and position.
The SA Map is 6000.0m x 6000.0m, the TD grid is 640 x 480, and the map is just a part of that grid (eg. 200 x 200 at a specific position on the TD grid) so the player's coords must be transformed to that grid.

When you calculated the point on the TD grid you can create a (player) textdraw there for the icon, then keep updating it by destroying and recreating the icon.
Reply


Messages In This Thread
Moving Icon on textdraw - by Craft. - 14.11.2018, 06:06
Re: Moving Icon on textdraw - by NaS - 14.11.2018, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)