Posts: 3,324
Threads: 96
Joined: Sep 2013
for (new i; i<MAX_PLAYERS; i++)
It's ';', not ','.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by Jimmy0wns
I suggest reading the title first...
|
Well then you sir are a complete dumbass.
What happens when you do "new i, i"? Well, that would be defining the same var twice, thus the error 021. The for loop consist of three parts, he is only doing the var init because he never ends the section with a ';'. So the compiler thinks he is defining more vars. Now, I suggest you pay attention and look at his problem again.
Posts: 89
Threads: 7
Joined: Feb 2013
Reputation:
0
can you show full script ?
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by HolyScripter
can you show full script ?
|
Why do you need the full script? Don't give this guy your script! We already answered your question, who knows what this guy was gonna do...
Posts: 150
Threads: 5
Joined: Feb 2014
Reputation:
0
Did you defined somewhere "i" as global variable ?
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by MikE1990
Did you defined somewhere "i" as global variable ?
|
Wow, stfu dude. I just explained what the problem was.