18.08.2012, 10:08
pawn Код:
case 28..30:
{
if(GetPlayerScore(playerid) > 49)
{
SetPlayerTeam(playerid, TEAM_FBI); // Setting players team
GameTextForPlayer(playerid,"~w~[]FBI[]",200,5); // Screen msg for player to show what team
}
else //you had the " else " in use for case, and case can't have else..
{
GameTextForPlayer(playerid,"~r~You must have 50 Scores to be FBI",6500,6);
}
}
}
return 1;
}