Center the text in a hud message
I'm making a plugin and its all done I tested it on a server and everything works great except that the text isn't centered on the hud message. Its a small insignificant problem yes I know but it really degrades the look of it, in my opinion at least.
the way it is : Hi My Name Is MoE the way I would like it: Hi My Name Is MoE |
Re: Center the text in a hud message
That is automatic.
Example: PHP Code:
PHP Code:
|
Re: Center the text in a hud message
Positive values on X aligns the text to left, negative values aligns text to right (may be the other way around, test) and -1.0 aligns text to center.
|
Re: Center the text in a hud message
Quote:
|
Re: Center the text in a hud message
No, I am talking about text alignment, not positioning!
Ex: Code:
X = 0.5While -1.0 is center... I didn't test -0.0 btw. |
Re: Center the text in a hud message
If you are using the amxx studio editor, simply use the hud generator and place the text where ever you want.
|
Re: Center the text in a hud message
Use hudmessage generator from amx studio, its easy to use!
|
Re: Center the text in a hud message
Thats a lot of quick replies thats guys :D
well what I have now is PHP Code:
May I ask other questions here or should open a new topic for each of them? |
Re: Center the text in a hud message
Not -0.30, but -0.1
|
Re: Center the text in a hud message
actually I fixed it by making it -1.0 I dont know why it stayed in the middle but it did :D thanks for the help guys!!
My other question is I wanted to do something with objectives I had it PHP Code:
|
| All times are GMT -4. The time now is 07:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.