how about this?
#4

check your brackets and try to intend your code, pls


here your code again, just intended, hope you see the mistake
if you use IE, you wont see it intended
pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if (classid == 0)
    {
        gTeam[playerid] = TEAM_GROVE;
    }
    else
    {
        gTeam[playerid] = TEAM_BALLA;
    }
}

return 1;    <--- 70
{

SetPlayerToTeamColor(playerid)
{
    if (gTeam[playerid] == TEAM_GROVE)
    {
        SetPlayerColor(playerid, TEAM_GROVE_COLOR);
    }
    else if (gTeam[playerid] == TEAM_BALLA)
    {
        SetPlayerColor(playerid, TEAM_BALLA_COLOR);
    }
}
Reply


Messages In This Thread
how about this? - by PANNA - 12.12.2009, 09:58
Re: how about this? - by [HiC]TheKiller - 12.12.2009, 10:32
Re: how about this? - by PANNA - 12.12.2009, 12:56
Re: how about this? - by Nero_3D - 12.12.2009, 13:06
Re: how about this? - by PANNA - 12.12.2009, 13:33
Re: how about this? - by acade - 12.12.2009, 13:37
Re: how about this? - by PANNA - 12.12.2009, 13:45
Re: how about this? - by Nero_3D - 12.12.2009, 14:11
Re: how about this? - by PANNA - 12.12.2009, 14:38
Re: how about this? - by PANNA - 12.12.2009, 16:30

Forum Jump:


Users browsing this thread: 7 Guest(s)