SA-MP Forums Archive
Textdraw problem - 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: Textdraw problem (/showthread.php?tid=635462)



Textdraw problem - Develerux - 07.06.2017

Hi guys, I need help because I got a problem with textdraws.
I created login/register textdraw at 1360*768 resulutions 4 months ago maybe, but I edit resulutions textdraw going to be a sick.

Images:
(1360*768 - http://i.imgur.com/3Ipr6VC.png)
(640*480 - http://i.imgur.com/6mGdzaC.png)

I am would not like it again to create textdraws all resulutions. Any idea how can I edit x and y textdraw coordinates with GetPlayerCameraAspectRatio in proportion ?
Thanks for the help!
Bad english skills sorry.


Re: Textdraw problem - Develerux - 07.06.2017

Bump


Re: Textdraw problem - Develerux - 08.06.2017

Bump


Re: Textdraw problem - Develerux - 08.06.2017

Nobody can reply ? Thanks forum.


Re: Textdraw problem - Develerux - 08.06.2017

Bump


Re: Textdraw problem - Develerux - 09.06.2017

Bump


Re: Textdraw problem - silverms - 09.06.2017

I don't think u can fix that.


Re: Textdraw problem - bencesz - 11.06.2017

ENG: You have to make the textdraws in both (4:3, 16:9 maybe even 5:4) resolutions. Under the public where your textdraws appear check the player's aspect ration with GetPlayerCameraAspectRatio. If its 4:3, show the 4:3 textdraws. If 16:9, show the 16:9 textdraws. no other way i think..

HUN: meg kell csinбlnod a textdrawokat minden kйpernyőmйretre (4:3, 5:4, 16:9). A public alatt, ami alatt meg akarod jeleniteni a textdrawokat, ellenőrizd a jбtйkos kйpernyőmйretйr a GetPlayerCameraAspectRatio-val. Ha 4:3, akkor a 4:3-as texdrawokat mutasd. Ha 16:9, akkor a 16:9-eseket. asszem erre mбs mуd nincs. (jу magyart lбtni itt )