27.05.2013, 22:36
Код:
C:\Users\hayden\Desktop\LoF.pwn(3289) : error 002: only a single statement (or expression) can follow each "case" C:\Users\hayden\Desktop\LoF.pwn(3289 -- 3290) : error 029: invalid expression, assumed zero C:\Users\hayden\Desktop\LoF.pwn(3290) : warning 217: loose indentation C:\Users\hayden\Desktop\LoF.pwn(5268) : warning 217: loose indentation C:\Users\hayden\Desktop\LoF.pwn(5469) : warning 217: loose indentation C:\Users\hayden\Desktop\LoF.pwn(10508) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Код:
if(ChosenClass[playerid] == 2) //TRUCKER { switch(PInfo[playerid][sSpawn]) { case 0: //Default { if(gTeam[playerid] == TEAM_TRUCKER) { DisplayDialogForPlayer(playerid, 66); } else if(gTeam[playerid] == TEAM_MILITARY) { DisplayDialogForPlayer(playerid, 5); } UpdateSkin(playerid); SetCameraBehindPlayer(playerid); return 1; } }