17.11.2016, 21:51
What the hell of this error

Код:
error 002: only a single statement (or expression) can follow each "case"
PHP код:
case 24,25://PRO
{
if(classid == 230 || classid == 231 || classid == 232)
{
GameTextForPlayer(playerid, "~r~RPO",800,6);
}
SetPlayerPos(playerid,1975.2399,-1220.0157,25.0779); // position of the player in the class selection
SetPlayerCameraPos(playerid,1969.5686,-1224.0016,24.9909); // Cameraposition
SetPlayerCameraLookAt(playerid,1975.2399,-1220.0157,25.0779);
SetPlayerFacingAngle(playerid,122.4500);
SetPlayerColor(playerid, COLOR_GREY);
new scorecheck = GetPlayerScore(playerid);
if(scorecheck < 15000)
{
GameTextForPlayer(playerid,"~r~Locked!",2500, 4);
return 1;
}
else if(scorecheck >= 15000)
{
GameTextForPlayer(playerid,"~g~Welcome To Pro Team",2500, 4);
}
return 1;
}
return 1;
}