02.08.2010, 17:22
Код:
if(dialogid == COMMANDS && response) { switch(listitem) { case 0: { SendClientMessage(playerid, YELLOW, " Asd "); SendClientMessage(playerid, YELLOW, " Asd "); } case 1: { SendClientMessage(playerid, YELLOW, " Asd "); SendClientMessage(playerid, YELLOW, " Asd "); } case 2: { SendClientMessage(playerid, YELLOW, " Asd "); SendClientMessage(playerid, YELLOW, " Asd "); } case 3: { SendClientMessage(playerid, YELLOW, " Asd "); SendClientMessage(playerid, YELLOW, " Asd "); } return 1; }
Код:
C:\(335) : error 002: only a single statement (or expression) can follow each "case" C:\(335) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.