Writing more than 1 cvar
How do I make this write more than 1 cvar into a .CFG?
Ive tried this and it wont work. Code:
|
register_cvar()
|
Im talking about this part
Code:
It only writes mp_limitteams 99 into the .CFG it wont write the mp_autoteambalance 0 |
Do not use 0 parameter if you want do that.
0 is a line number (i.e first line) Code:
|
Replace:
Code:
With: Code:
|
Thanks, guys.
|
Sandurr: your code the same as mine because -1 parameter is by default.
|
ok I didn't know that plus I posted when you were posting so I didn't see your post ;)
|
Yay for speeeeeeeeed!
Code:
|
v3x, speed isn't everything.
|
| All times are GMT -4. The time now is 16:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.