what is wrong here?
#6

Quote:
Originally Posted by Yamoo
Посмотреть сообщение
pawn Код:
{
   if(dialogid == 2)
   {
      if(response)
      {
         switch(listitem)
         {
         case 0:
         {
            //Selected Item: "Las Venturas"
            SetPlayerCheckpoint(playerid, 1981.7261,-2451.8857,13.5469, 5.0);
            }
         case 1:
         {
            //Selected Item: "Los Santos"
            SetPlayerCheckpoint(playerid,1981.7261,-2451.8857,13.5469, 5.0);
            }
         case 2:
         {
            //Selected Item: "San Fierro"
            SetPlayerCheckpoint(playerid,-1263.8750,25.1669,14.1484, 5.0);
           }
return 1;
now this:
Код:
C:\Users\Jot\Documents\SAMP\gamemodes\lvdm.pwn(963) : warning 225: unreachable code
C:\Users\Jot\Documents\SAMP\gamemodes\lvdm.pwn(985) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\Jot\Documents\SAMP\gamemodes\lvdm.pwn(985) : warning 215: expression has no effect
C:\Users\Jot\Documents\SAMP\gamemodes\lvdm.pwn(992) : error 030: compound statement not closed at the end of file (started at line 968)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
what is wrong here? - by jot16 - 31.10.2011, 04:22
Re: what is wrong here? - by Stigg - 31.10.2011, 04:26
Re: what is wrong here? - by Babul - 31.10.2011, 04:27
Re: what is wrong here? - by jot16 - 31.10.2011, 04:28
Re: what is wrong here? - by Yamoo - 31.10.2011, 04:28
Re: what is wrong here? - by jot16 - 31.10.2011, 04:31
Re: what is wrong here? - by jot16 - 31.10.2011, 04:34
Re: what is wrong here? - by jot16 - 01.11.2011, 23:02
Re: what is wrong here? - by SuperViper - 01.11.2011, 23:26

Forum Jump:


Users browsing this thread: 3 Guest(s)