[Solved] Positioning text on the screen. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved] Positioning text on the screen. (
/showthread.php?tid=130965)
[Solved] Positioning text on the screen. -
DesertFoxNight - 01.03.2010
I want to know how to position text on the screen like the text on this screen shot:
http://i278.photobucket.com/albums/k...a-mp-005-2.png
Thank you for you time.
Re: Positioning text on the screen. -
V1ceC1ty - 01.03.2010
Text Draws.
Re: Positioning text on the screen. -
[HiC]TheKiller - 01.03.2010
Quote:
Originally Posted by » ραωпsтαг «
Quote:
Originally Posted by V1ceC1ty
Text Draws.
|
Wow ... extremely helpful .. I mean, damn, I'm blown away by this reply, I think I know how to centre my textdraws now  (!)
This is how you centre textdraws, or how I do it anyways. I use this: Click here
|
Hes just a narb that steals others scripts. Anyway, if you are to lazy to use that script then, estimate the co-ordonates because it's based on a 640x480 canvas. I would estimate that that textdraw would be around 500X and 210Y.
Re: Positioning text on the screen. -
DesertFoxNight - 06.03.2010
Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by » ραωпsтαг «
Quote:
Originally Posted by V1ceC1ty
Text Draws.
|
Wow ... extremely helpful .. I mean, damn, I'm blown away by this reply, I think I know how to centre my textdraws now  (!)
This is how you centre textdraws, or how I do it anyways. I use this: Click here
|
Hes just a narb that steals others scripts. Anyway, if you are to lazy to use that script then, estimate the co-ordonates because it's based on a 640x480 canvas. I would estimate that that textdraw would be around 500X and 210Y.
|
Yes, you are right I'm stealing from other scripts and I don't know what I'm doing. For me, scripting in SA-MP is like writing a program in C (very similar keywords and some reference of C++) which I have knowledge of and other languages so this isn't new to me only the new syntax and functions. Your two word response was enough to get what I needed and to piece together my own script that wrote from scratch. Thank you for both of your help.