21.12.2010, 12:05
I get these errors when i compile, but i dont get it whats wrong. I just need help with these errors:
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : warning 219: local variable "i" shadows a variable at a preceding level
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : error 029: invalid expression, assumed zero
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : error 036: empty statement
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : error 017: undefined symbol "i"
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : fatal error 107: too many error messages on one line
And the script line is this:
RaceActive=0;
Ranking=1;
LCurrentCheckpoint=0;
Participants=0;
1623 for(new i;<MAX_BUILDERS); i++)
{
BuilderSlots[i]=MAX_PLAYERS+1;
}
if(RRotation != -1) SetTimer("RaceRotation",RRotationDelay,1);
CreateRaceMenus();
So whats wrong with this ?
for(new i;<MAX_BUILDERS); i++)
Id appreciate your help
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : warning 219: local variable "i" shadows a variable at a preceding level
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : error 029: invalid expression, assumed zero
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : error 036: empty statement
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : error 017: undefined symbol "i"
E:\Gta san\Right one the one i use\Server 2 (i maby use this\0.3c server 2\gamemodes\sagc.pwn(1623) : fatal error 107: too many error messages on one line
And the script line is this:
RaceActive=0;
Ranking=1;
LCurrentCheckpoint=0;
Participants=0;
1623 for(new i;<MAX_BUILDERS); i++)
{
BuilderSlots[i]=MAX_PLAYERS+1;
}
if(RRotation != -1) SetTimer("RaceRotation",RRotationDelay,1);
CreateRaceMenus();
So whats wrong with this ?
for(new i;<MAX_BUILDERS); i++)
Id appreciate your help