[Ajuda] 2 Errors e 2 Warning '-'
#1

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"

Linha :

pawn Код:
else if(classid == 4)
Code completo :

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;
       }
    }
}
Reply


Messages In This Thread
[Ajuda] 2 Errors e 2 Warning '-' - by Laercio - 20.11.2011, 04:24
Re: [Ajuda] 2 Errors e 2 Warning '-' - by Hardware - 20.11.2011, 05:04
Re: [Ajuda] 2 Errors e 2 Warning '-' - by Pharrel - 20.11.2011, 11:19
Re: [Ajuda] 2 Errors e 2 Warning '-' - by Laercio - 20.11.2011, 13:31

Forum Jump:


Users browsing this thread: 1 Guest(s)