20.11.2011, 04:24
Quote:
H:\ftn.pwn(5142) : warning 217: loose indentation H:\ftn.pwn(5142) : error 029: invalid expression, assumed zero H:\ftn.pwn(5142) : warning 215: expression has no effect H:\ftn.pwn(5142) : error 001: expected token: ";", but found "if" |
pawn Код:
else if(classid == 4)
pawn Код:
SetPlayerClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = TEAM_CT;
}
else if(classid == 1)
{
gTeam[playerid] = TEAM_CT;
}
else if(classid == 2)
{
gTeam[playerid] = TEAM_T;
}
else if(classid == 3)
{
gTeam[playerid] = TEAM_T;
else if(classid == 4)
{
gTeam[playerid] = TEAM_EX;
}
}
}