04.11.2010, 15:24
fixed this for you
pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = TEAM_TRUCKER;
}
else if(classid == 1)
{
gTeam[playerid] = TEAM_POLICE;
}
}