26.04.2011, 14:40
pawn Код:
if(classid == 118)
{
gTeam[playerid] = TEAM_ROBBERS;
return 1;
}
else if(classid == 120)
{
gTeam[playerid] = TEAM_ROBBERS;
return 1;
}
else if(classid == 125)
{
gTeam[playerid] = TEAM_ROBBERS;
return 1;
}
else if(classid == 274)
{
gTeam[playerid] = TEAM_MEDICS;
return 1;
}
else if(classid == 275)
{
gTeam[playerid] = TEAM_MEDICS;
return 1;
}
else if(classid == 276)
{
gTeam[playerid] = TEAM_MEDICS;
return 1;
}
else if(classid == 277)
{
gTeam[playerid] = TEAM_FIREFIGHTERS;
return 1;
}
else if(classid == 278)
{
gTeam[playerid] = TEAM_FIREFIGHTERS;
return 1;
}
else if(classid == 279)
{
gTeam[playerid] = TEAM_FIREFIGHTERS;
return 1;
}
else if(classid == 281)
{
gTeam[playerid] = TEAM_COPS;
return 1;
}
else if(classid == 282)
{
gTeam[playerid] = TEAM_COPS;
return 1;
}
else if(classid == 285)
{
gTeam[playerid] = TEAM_COPS;
return 1;
}
return 1;
}