[Help] Understanding count in this code.
Help me understand this not balanced count.
What this code does is that if some of the team has 2 teamates only it runs a command. But i want to change it to 4 teamates so i changed all 2 numbers to 4 but it doesnt work. Instead it says something wierd or nothing at all. Like -5 teamates. So whats the mathematics of this code how does it count!? How to make so it counts 4 teamates or less. PHP Code:
|
Re: [Help] Understanding count in this code.
Don't just change random numbers without looking at the code yourself. Take time to look at the code and think logically about it. Even if you didn't know how to code, you could probably figure out the general idea of what is going on.
I would assume that you could change "g_NotBalanced == 2" to "g_NotBalanced == 4". I would also assume that you need to change the cvar value. If that doesn't do it, you would need to attach the plugin because we have no idea of the context of the code and especially the global variables. |
Re: [Help] Understanding count in this code.
Expirementing more so angry it should be so easy.
if ( g_NotBalanced == 4 ) is how many rounds it will wait until ending the match. |
Re: [Help] Understanding count in this code.
Finally after fu**ing 4 hours!
PHP Code:
|
Re: [Help] Understanding count in this code.
ahahhaha, i feel you bro
|
| All times are GMT -4. The time now is 18:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.