a little question
#1

what is this ?
Код:
.pwn(1077) : error 002: only a single statement (or expression) can follow each "case"
the line is
Код:
return 0;
	}
Reply
#2

Post the whole block of code.
Reply
#3

i found it .. thanks anyway
Reply
#4

Learn how to use the switch/case statement. You can't add any code before case or after case statement.

Wrong examples:
pawn Код:
switch(5)
{
  printf("-1");
  case 0: printf("0");
  case 1: printf("1);
}
pawn Код:
switch(5)
{
  case 0: printf("0");
  case 1: printf("1);
  printf("
-1");
}
Correct example:
pawn Код:
switch(5)
{
  case 0: printf("0");
  case 1: printf("1);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)