09.03.2017, 18:28
Pawno Error:
All on the same line
Help me.
Код:
\gamemodes\Vs.pwn(469) : error 001: expected token: ":", but found "-identifier-" gamemodes\Vs.pwn(469) : error 032: array index out of bounds (variable "Player") gamemodes\Vs.pwn(469) : warning 215: expression has no effect gamemodes\Vs.pwn(469) : error 002: only a single statement (or expression) can follow each "case" 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 [MAX_PLAYERS][pClass]; = GCLASS_0; // Pro Killer. 470|case 1 Player [MAX_PLAYERS][pClass]; = GCLASS_1; // The Tyrant. }