public OnPlayerRequestClass( playerid, classid )
{
if( classid == 0 || classid == 1 || classid == 2 )
{
GameTextForPlayer( playerid, \"~g~Stunter\", 5000, 1 );
SetPlayerPos( playerid, 1669.0923, -1676.3086, 21.4357 );
SetPlayerFacingAngle( playerid, 189.9247 );
SetPlayerCameraPos( playerid, 1669.8665, -1679.0420, 21.4360 );
SetPlayerCameraLookAt( playerid, 1669.0923, -1676.3086, 21.4357 );
TextDrawShowForPlayer( playerid, CBox );
TextDrawShowForPlayer( playerid, CBox2 );
TextDrawShowForPlayer( playerid, InfoC );
TextDrawShowForPlayer( playerid, SkinC );
ApplyAnimation( playerid, \"DANCING\", \"DAN_LOOP_A\" ,4.0, 1, 0, 0, 0, -1 );
}
if( classid == 3 || classid == 4 || classid == 5 )
{
GameTextForPlayer( playerid, \"~r~Drifter\", 5000, 1 );
SetPlayerPos( playerid, -263.2422, 2226.7073, 110.4609 );
SetPlayerFacingAngle( playerid, 279.4366 );
SetPlayerCameraPos( playerid, -259.3647, 2227.1392, 110.0852 );
SetPlayerCameraLookAt( playerid, -263.2422, 2226.7073, 110.4609 );
ApplyAnimation( playerid,\"DANCING\", \"DAN_LOOP_A\", 4.0, 1, 0, 0, 0, -1 );
}
if( classid == 6 || classid == 7 || classid == 8 )
{
GameTextForPlayer( playerid, \"~y~Jumper\", 5000, 1 );
SetPlayerPos( playerid, -464.6849, 2224.1455, 1108.9216 );
SetPlayerFacingAngle( playerid, 267.0313 );
SetPlayerCameraPos( playerid, -456.8397, 2224.1357, 1105.3457 );
SetPlayerCameraLookAt( playerid, -464.6849, 2224.1455, 1108.9216 );
ApplyAnimation( playerid, \"DANCING\", \"DAN_LOOP_A\", 4.0, 1, 0, 0, 0, -1 );
}
if( classid == 9 || classid == 10 || classid == 11 )
{
GameTextForPlayer( playerid, \"~p~Csajok\", 5000, 1 );
SetPlayerPos( playerid, -1658.2007, 1218.2784, 7.2500 );
SetPlayerFacingAngle( playerid, 267.0313 );
SetPlayerCameraPos( playerid, -1654.2991, 1217.4213, 7.2500 );
SetPlayerCameraLookAt( playerid, -1658.2007, 1218.2784, 7.2500 );
ApplyAnimation( playerid, \"DANCING\", \"DNCE_M_C\", 4.0, 1, 0, 0, 0, -1 );
iSpawnSet[ playerid ] = 13;
SetupPlayerForClassSelection( playerid );
PlayerPlaySound( playerid, 1183, 0.0, 0.0, 0.0 );
}
return 1;
}