absolute nub and menu formatting
hey, I looked around and couldn't find a good list of any of those commands that let you do the fancy formating with menus.
i know i can do ^n, and \w and stuff, but how can i do things such as have part of one line aligned to the right, as often seen, and display the value of a variable? is there a tutorial i'm missing somewhere or can i get some basic help or what? |
I don't think it's possible to align a menu.. :P
|
what? there has to be! how else could the front-end menus work?!
do you just add blank spaces? :P but yea, any place i can just get a reference list or sumtin? |
\R or \r
One of them is right-align, and one of them is Red Text.. |
o.O, I didn't know that. :D
\R |
cool. thanks. it's \R i'm sure
but how do i display the value of a variable? the way i do it i'm sure would display a string being the actaul name of the variable, how do ishow the value? also, i need help in basic math functions. i got two variables to add, and i got one variable to subtract by adding a negative number, but when i try * or / or - everything ends up crazy! i ended up giving myself 17765486457 dollars in counter-strike and the hud actually displayed it (ran off the screen, but). and i'm also having problems that are really basic. i declare a new variable inside several different if statments, and all the variables have the same name. the variable then adds two variables which are also declared in each seperate if statement. if works fine for the first if, but the second if is some god aweful crazy number, and the third if doesn't do anything. it was copy and paste, i'm not even gonna post it cuz it was so flawless. i don't even know the syntax and i am 100% sure that the first if is identical to the second two ifs except the number added is slightly larger. it makes no sense, as far as i can tell it's not going thru one if then the other, which it's not supposed to. my problem is i need to learn the fracking syntax. all the tutorials i've seen are extremely vague and i can't learn how to do simple crap like add and subtract cuz people just ASSUME you know how to do that. i need to learn the syntax and then i'll leave you guys alone. and not how to format parameters stuff. i've picked up on that. just really basic stuff. |
Would be easier to help you if you show us the problem code.. :wink:
|
Code:
Nothing happens when I press keys 3, 4, 5 except the menu disappears. i don't think it's running the functions there at all. |
Try this:
Code:
Notice how much code was removed by using a single array.. I hope that helps.. |
wow. see that looks nothing like my orignial code, but...
where can i learn how to do this? is there a tutoiral i missed or is it just assumed? and where can i learn those little things, like \R? and where can i learn how to properly use format? i looked it up about four times in the functions list but it makes no sense to a newb like me |
| All times are GMT -4. The time now is 16:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.