error 029: invalid expression, assumed zero
#6

Too late. but by the way here's some simple example that they way i do mine.

pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if(classid >= /*Grove classid here*/)
    {
        gTeam[playerid] = TEAM_GROVE;
    }
    if(classid >= /*Cop classid here*/)
    {
        gTeam[playerid] = TEAM_COPS;
    }
    if(classid >= /*Vagos classid here*/)
    {
        gTeam[playerid] = TEAM_VAGOS;
    }
}
PS: you can do Nero_3D or my ones. but it depends on you.
Reply


Messages In This Thread
error 029: invalid expression, assumed zero - by N0FeaR - 17.03.2013, 12:24
AW: error 029: invalid expression, assumed zero - by Nero_3D - 17.03.2013, 12:31
Re: AW: error 029: invalid expression, assumed zero - by N0FeaR - 17.03.2013, 12:34
Re: error 029: invalid expression, assumed zero - by master2466 - 17.03.2013, 12:43
AW: error 029: invalid expression, assumed zero - by Nero_3D - 17.03.2013, 12:44
Re: error 029: invalid expression, assumed zero - by Patrick - 17.03.2013, 12:49
Re: error 029: invalid expression, assumed zero - by N0FeaR - 17.03.2013, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)