How do i fix this
#1

Im trying to add a rank thing and i get this error.

pawn Код:
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3111) : error 037: invalid string (possibly non-terminated string)
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3111) : error 036: empty statement
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3112) : error 014: invalid statement; not in switch
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3112) : warning 215: expression has no effect
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3112) : error 001: expected token: ";", but found ":"
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3112) : error 029: invalid expression, assumed zero
C:\Users\Ryan\Desktop\virp\gamemodes\virp.pwn(3112) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

A bit of the code

pawn Код:
}
            case 10:
            {
                switch(PlayerInfo[playerid][pRank])
                {
                    case 6:  string = "Administrator;
                    case 5:  string = "
Assistant Administrator;
                    case 4:  string = "Field Supervisor";
                    case 3:  string = "Corporalr";
                    case 2:  string = "Officer";
                    default: string = "Cadet";
                }
            }
Reply


Messages In This Thread
How do i fix this - by yarrum3 - 11.11.2010, 06:34
Re: How do i fix this - by (SF)Noobanatior - 11.11.2010, 06:43
Re: How do i fix this - by yarrum3 - 11.11.2010, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)