08.01.2010, 17:45
Your SetPlayerTeamFromClass conditional is messed up, it is probably better to use a switch for this
pawn Code:
SetPlayerTeamFromClass(playerid, classid)
{
switch(classid)
{
case 0..4:gTeam[playerid] = TEAM_HOOKER;
case 5..8:gTeam[playerid] = TEAM_BUM;
}
}