Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*********************************
- ************Dvar Menu************
- ***********By Label**************
- **********V 1.0******************
- *********************************/
- /*
- Syntax - Follow this to add Dvar functions.
- Find on the onNoobSpawned() and Add all the function under
- \* Dvars *\ then to add names to the menu follow this.
- funcDvars(curs, dvar, max, inc, inc2)
- curs = next number.
- dvar = your dvar.
- max = Maximum the value can go to.
- inc = how much to increase value on each scroll.
- in2 = how much the bar will move each scroll.
- Add all option name in level.vars["text"] = strTok located in the onNoobConnect()
- Seperate each option by a comma " , " to dignify a new option name. The option names
- also go in order with the funcDvars...
- **** You may have to do some simple math to figure out the right values for each of them to
- **** fit the scroller perfect. The scroller length is 200, so figuring out the increments should
- **** not be to hard. Also you do not need to change the shader size as you add more options, the
- **** shader will grow to the size need to fit all options.
- Soon Updates
- - Will add saving function for each dvar.
- - Will add auto calcuation for increments.
- */
Advertisement
Add Comment
Please, Sign In to add comment