4 errors in one line...
#7

PHP код:
            stock IsPlayerInZone(playeridzoneid)
            {
                new 
Float:xFloat:yFloat:z;
                
GetPlayerPos(playeridxyz);
                return (
ZoneInfo[zoneid][zMinX] && ZoneInfo[zoneid][zMaxX] && ZoneInfo[zoneid][zMinY] && ZoneInfo[zoneid][zMaxY]);
            }
            
stock GetPlayersInZone(zoneidteamid)
            {
                new 
count;
                for(new 
i=0MAX_PLAYERSi++)
                {
           if(
IsPlayerConnected(i) && gTeam(i) == teamid && IsPlayerInZone(izoneid)) //here's the error
                    
{
                        
count++;
                    }
                }
                return 
count;
            } 
I commented the line...
Reply


Messages In This Thread
4 errors in one line... - by samtey - 30.08.2011, 18:27
Re: 4 errors in one line... - by [MWR]Blood - 30.08.2011, 18:29
Re: 4 errors in one line... - by AndreT - 30.08.2011, 18:30
Re: 4 errors in one line... - by Pinguinn - 30.08.2011, 18:31
AW: 4 errors in one line... - by samtey - 30.08.2011, 18:44
Re: 4 errors in one line... - by Vince - 30.08.2011, 18:53
AW: 4 errors in one line... - by samtey - 30.08.2011, 19:05
Re: 4 errors in one line... - by Jafet_Macario - 30.08.2011, 19:14
AW: 4 errors in one line... - by samtey - 30.08.2011, 19:32
Re: 4 errors in one line... - by Jafet_Macario - 30.08.2011, 19:34

Forum Jump:


Users browsing this thread: 3 Guest(s)