SA-MP Forums Archive
screen pos please help - 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: screen pos please help (/showthread.php?tid=648654)



screen pos please help - Osamakurdi - 26.01.2018

How I can get screen posx and posy ??
I Mean
i want to create text draw and i want screen pos for that!


Re: screen pos please help - Fratello - 26.01.2018

You need to be more precise. Whose X Y Z coordinates? When the textdraw shall show? Etc ..


Re: screen pos please help - Osamakurdi - 26.01.2018

Quote:
Originally Posted by Fratello
Посмотреть сообщение
You need to be more precise. Whose X Y Z coordinates? When the textdraw shall show? Etc ..
Код:
TextDrawCreate(Float:x, Float:y, text[]);
from where i can get those floats


Re: screen pos please help - Sew_Sumi - 26.01.2018

The screen is in 640x480 size. There are textdraw editors. There's also trial and error as well.

https://sampwiki.blast.hk/wiki/TextDraws