public SetupPlayerForClassSelection(playerid)
{
switch (gTeam[playerid])
{
case TEAM_BLUE:
{
SetPlayerPos(playerid, -2686.9275,1339.5300,16.9922);
SetPlayerFacingAngle(playerid, 80.0234);
SetPlayerCameraPos(playerid, -2691.2944,1339.7620,16.9978);
SetPlayerCameraLookAt(playerid, -2668.1008,1340.3521,16.9922);
PlayerPlaySound(playerid,1183 ,0, 0, 0);
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
SetPlayerInterior(playerid,0);
}
case TEAM_ADMIN:
{
SetPlayerPos(playerid, -2686.9275,1339.5300,16.9922);
SetPlayerFacingAngle(playerid, 80.0234);
SetPlayerCameraPos(playerid, -2691.2944,1339.7620,16.9978);
SetPlayerCameraLookAt(playerid, -2668.1008,1340.3521,16.9922);
PlayerPlaySound(playerid,1183 ,0, 0, 0);
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
SetPlayerInterior(playerid,0);
}
default:
{
SetPlayerPos(playerid, -2686.9275,1339.5300,16.9922);
SetPlayerFacingAngle(playerid, 80.0234);
SetPlayerCameraPos(playerid, -2691.2944,1339.7620,16.9978);
SetPlayerCameraLookAt(playerid, -2668.1008,1340.3521,16.9922);
PlayerPlaySound(playerid,1183 ,0, 0, 0);
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
SetPlayerInterior(playerid,0);
}
}
}