Код:
switch ( classid )
{
case 0:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY );
}
case 1:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 2:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 3:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 4:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 5:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 6:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 7:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 8:
{
GameTextForPlayer( playerid, "~g~TEAM ARMY", 300, 3 );
SetPlayerTeam( playerid, TEAM_ARMY);
}
case 9:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 10:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 11:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 12:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 13:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 14:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 15:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 16:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300,3);
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
case 17:
{
GameTextForPlayer( playerid, "~r~TEAM TERRORIST", 300, 3 );
SetPlayerTeam( playerid, TEAM_TERRORIST);
}
}