11.11.2010, 06:34
Im trying to add a rank thing and i get this error.
A bit of the code
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";
}
}