What value will move HUD message a little bit upper?
Hello. I would like to know what value will move the HUD info message a little bit upper.
So, this is the value I currently use: Code:
// HUD messages Now, I want to know how to move the HUD message a little bit upper, because i added more information to the HUD info message and now the HUD shows more information, and now the extra HUD, which is part of the ZP's HUD info message, covers the timer that shows how much time is left before the end of the round. In other words, the ZP's HUD info message must be moved a little bit upper in order to no longer cover the timer. So, what value will move the HUD message upper? I tried several different combinations of numbers, but it didn't happen. All values i tried moved the message to the left or to the right, but not upper. |
Re: What value will move HUD message a little bit upper?
Just change these
HTML Code:
const Float:HUD_STATS_X = 0.02 use this https://forums.alliedmods.net/showthread.php?t=2054 |
Re: What value will move HUD message a little bit upper?
Use amxx studio, it has a tool to generate & position hudmessages.
|
Re: What value will move HUD message a little bit upper?
Quote:
I will give you photos, so you can understand me better. This is how the ZP's info HUD looked like BEFORE I introduced the changes: https://pasteboard.co/YOT5aW31vPJt.png This is how the ZP's info HUD looks like now: https://pasteboard.co/EodCYB1jYUZK.png So, the following line: "Health: 150 || Class: Human || Money: 0 || Armor: 0" should move a little bit upper in order the following line: "XP: 1706/2000 | Level: 8/30: SWAT" to go to the same place where the following line is now: "Health: 150 || Class: Human || Money: 0 || Armor: 0" By moving the upper line a little bit upper, the lower line will move upper automatically, because both lines are part of the same HUD message function. Do you understand what I'm saying? Sorry for my bad English. |
Re: What value will move HUD message a little bit upper?
What you just said makes no sense. You use the amxx studio hud generator to positon the hud - the set_hudmessage line. Then you display whatever message you want, no matter how complex with show_hudmessage which you already have(and is the message you want to move).
|
Re: What value will move HUD message a little bit upper?
Quote:
Yes, the HUD Generator helped me to understand what values I need to use in order to position the HUD at the place where I want it to be. Problem solved. Thanks. |
All times are GMT -4. The time now is 06:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.