Problem with foreach
#1

I get last foreach and zcmd, and it don't work.
i have errors.

Код:
C:\Users\Andrei\Desktop\samp0.3xxx\gamemodes\gmx.pwn(316) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Andrei\Desktop\samp0.3xxx\gamemodes\gmx.pwn(316) : error 017: undefined symbol "COL_ORANGE"
C:\Users\Andrei\Desktop\samp0.3xxx\gamemodes\gmx.pwn(316) : warning 215: expression has no effect
C:\Users\Andrei\Desktop\samp0.3xxx\gamemodes\gmx.pwn(316) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Andrei\Desktop\samp0.3xxx\gamemodes\gmx.pwn(316) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
And this is line:
pawn Код:
public MinigameCountdown( )
{
    if( Iter_Count(_Minigamer) < 1 ) //End minigame if there aren't enough sign ups
    {
        SendClientMessageToAll( LIME,"There wasn't enough players to start "COL_ORANGE"Don't Get Wet"COL_LIME" minigame." );
        foreach(_Minigamer, i) Minigamer_{ i } = false;
        return EndMinigame( );
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)