Need some assistance
#1

I am getting some wired error and I have no clue what I have done wrong.

Here is the code:
pawn Код:
for(new p = 0; < GetMaxPlayers(); p++)
    {
        if(Class[p] == Army) count[0]++;
        else if(Class[p] == Terrorists) count[1]++;
    }
Error:
Код:
C:\Users\DarkLored123\Desktop\Server\gamemodes\Deathmatch.pwn(229) : error 029: invalid expression, assumed zero
C:\Users\DarkLored123\Desktop\Server\gamemodes\Deathmatch.pwn(229) : error 001: expected token: ")", but found ";"
C:\Users\DarkLored123\Desktop\Server\gamemodes\Deathmatch.pwn(229) : error 036: empty statement
C:\Users\DarkLored123\Desktop\Server\gamemodes\Deathmatch.pwn(229) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Need some assistance - by DarkLored - 01.06.2015, 03:31
Re: Need some assistance - by awsomedude - 01.06.2015, 03:55
Re: Need some assistance - by hamzajaved780 - 01.06.2015, 04:12
Re: Need some assistance - by SoFahim - 01.06.2015, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)