SA-MP Forums Archive
Question regarding textdraws - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question regarding textdraws (/showthread.php?tid=559546)



Question regarding textdraws - Partner - 23.01.2015

Since every compiter runs at differwnt resolution, do textdraws appear diifferently? I made a textdraw of an icon above a textdraw of SA map. It shows above a specific area but will it show in the same area in other computers?


Re: Question regarding textdraws - PowerPC603 - 23.01.2015

Yes, it should appear on the same spot as they use a canvas based on a resolution of 640x480 pixels.
This canvas is used as a base for the other resolutions and is thus resized/stretched, but not dis-positioned.

So if you place a textdraw in the center of the screen, it will appear there for everyone, even when they all use different resolutions.

Image is here to explain:
https://sampwiki.blast.hk/wiki/TextDraws

Also this page states this inside a yellow rectangle:
https://sampwiki.blast.hk/wiki/TextDrawCreate