WHAT THE HECK IS WORNG????
#6

You didn't follow my code properly

pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
    switch(classid)
    {
        case 0:
        {
            gTeam[playerid] = TEAM_ROBBERS;
        }
        case 1:
        {
            gTeam[playerid] = TEAM_ROBBERS;
        }
        case 2:
        {
            gTeam[playerid] = TEAM_ROBBERS;
        }
        case 3:
        {
            gTeam[playerid] = TEAM_MEDICS;
        }
        case 4:
        {
            gTeam[playerid] = TEAM_MEDICS;
        }
        case 5:
        {
            gTeam[playerid] = TEAM_MEDICS;
        }
        case 6:
        {
            gTeam[playerid] = TEAM_FIREFIGHTERS;
        }
        case 7:
        {
            gTeam[playerid] = TEAM_FIREFIGHTERS;
        }
        case 8:
        {
            gTeam[playerid] = TEAM_FIREFIGHTERS;
        }
        case 9:
        {
            gTeam[playerid] = TEAM_COPS;
        }
        case 10:
        {
            gTeam[playerid] = TEAM_COPS;
        }
        case 11:
        {
            gTeam[playerid] = TEAM_COPS;
        }
    }
    return 1;
}
Reply


Messages In This Thread
WHAT THE HECK IS WORNG???? - by Cjgogo - 26.04.2011, 13:54
Re: WHAT THE HECK IS WORNG???? - by Cjgogo - 26.04.2011, 14:26
Re: WHAT THE HECK IS WORNG???? - by Sinner - 26.04.2011, 14:29
Re: WHAT THE HECK IS WORNG???? - by Tee - 26.04.2011, 14:35
Re: WHAT THE HECK IS WORNG???? - by Cjgogo - 26.04.2011, 14:38
Re: WHAT THE HECK IS WORNG???? - by xir - 26.04.2011, 14:40
Re: WHAT THE HECK IS WORNG???? - by Markx - 26.04.2011, 14:40
Re: WHAT THE HECK IS WORNG???? - by Cjgogo - 26.04.2011, 14:43
Re: WHAT THE HECK IS WORNG???? - by Cjgogo - 26.04.2011, 14:45
Re: WHAT THE HECK IS WORNG???? - by Cjgogo - 26.04.2011, 14:50

Forum Jump:


Users browsing this thread: 8 Guest(s)