27.04.2011, 06:03
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetupPlayerForClassSelection(playerid)
if(classid == 0 || classid == 1 || classid == 2 || classid == 3)
{
gTeam[playerid] = TEAM_1;
GameTextForPlayer(playerid, "~b~Cops", 1000,15);
}
else if(classid == 4 || classid == 5 || classid == 6 || classid == 7)
{
gTeam[playerid] = TEAM_2;
GameTextForPlayer(playerid, "~w~Civllian", 1000,16);
}
pawn Код:
C:\Users\MarioG\Desktop\SASP\gamemodes\SASP.pwn(1035) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
pawn Код:
if(classid == 0 || classid == 1 || classid == 2 || classid == 3)