fatal error 107: too many error messages on one line
#3

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
PHP код:
switch(listitem)
{
     case 
0Player[MAX_PLAYERS][pClass] = GCLASS_0;  // Pro Killer.
     
case 1Player[MAX_PLAYERS][pClass] = GCLASS_1// The Tyrant.

After doing that...

Код:
Alpha vs Delta\gamemodes\Vs.pwn(469) : error 002: only a single statement (or expression) can follow each "case"
Alpha vs Delta\gamemodes\Vs.pwn(469) : error 029: invalid expression, assumed zero
Alpha vs Delta\gamemodes\Vs.pwn(469) : warning 215: expression has no effect
Alpha vs Delta\gamemodes\Vs.pwn(469) : error 001: expected token: ";", but found "]"
Alpha vs Delta\gamemodes\Vs.pwn(469) : fatal error 107: too many error messages on one line

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


4 Errors.
Код:
467|switch(listitem) // If be more than 2 classes
468|{
469|case 0: Player [playerid][pClass]; = [GCLASS_0]  // Professional.
470|case 1: Player [playerid][pClass]; = [GCLASS_1] // Tyrant.
}
SpawnPlayer(playerid); // Do spawn
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)