public OnPlayerRequestClass( playerid, classid )
{
SetPlayerClass( playerid, classid );
SetPlayerColor( playerid, COLOR_INACTIVE );
PlayerPlaySound( playerid, 1068, 0.0, 0.0, 0.0 );
switch(classid)
{
case 0:
{
SetPlayerPos(playerid, 1810.5295,-2103.0408,13.5469);
SetPlayerCameraPos(playerid, 1814.3398,-2100.5222,13.5469);
SetPlayerCameraLookAt(playerid, 1810.5295,-2103.0408,13.5469);
InterpolateCameraPos(playerid, 1594.8032,2311.0300,18.8222, 1814.3398,-2100.5222,13.5469, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 300.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Azteca", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 1:
{
SetPlayerPos(playerid, 1810.5295,-2103.0408,13.5469);
SetPlayerCameraPos(playerid, 1814.3398,-2100.5222,13.5469);
SetPlayerCameraLookAt(playerid, 1810.5295,-2103.0408,13.5469);
SetPlayerFacingAngle(playerid, 300.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Azteca", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 2:
{
SetPlayerPos(playerid, 2654.5081,-1063.5448,69.5937);
SetPlayerCameraPos(playerid, 2658.3940,-1060.7126,69.5209);
SetPlayerCameraLookAt(playerid, 2654.5081,-1063.5448,69.5937);
InterpolateCameraPos(playerid, 1814.3398,-2100.5222,13.5469, 2658.3940,-1060.7126,69.5209, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 300.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Vagos", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 3:
{
SetPlayerPos(playerid, 2654.5081,-1063.5448,69.5937);
SetPlayerCameraPos(playerid, 2658.3940,-1060.7126,69.5209);
SetPlayerCameraLookAt(playerid, 2654.5081,-1063.5448,69.5937);
SetPlayerFacingAngle(playerid, 300.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Vagos", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 4:
{
SetPlayerPos(playerid, 1979.8929,-1143.1704,25.985;
SetPlayerCameraPos(playerid, 1975.8948,-1145.9689,25.9895);
SetPlayerCameraLookAt(playerid, 1979.8929,-1143.1704,25.985;
InterpolateCameraPos(playerid, 2658.3940,-1060.7126,69.5209, 1975.8948,-1145.9689,25.9895, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 120.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Balla", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 5:
{
SetPlayerPos(playerid, 1979.8929,-1143.1704,25.985;
SetPlayerCameraPos(playerid, 1975.8948,-1145.9689,25.9895);
SetPlayerCameraLookAt(playerid, 1979.8929,-1143.1704,25.985;
SetPlayerFacingAngle(playerid, 120.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Balla", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 6:
{
SetPlayerPos(playerid, 2498.2249,-1644.6326,18.8751);
SetPlayerCameraPos(playerid, 2498.2676,-1640.1935,18.6116);
SetPlayerCameraLookAt(playerid, 2498.2249,-1644.6326,18.8751);
InterpolateCameraPos(playerid, 1975.8948,-1145.9689,25.9895, 2498.2676,-1640.1935,18.6116, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 0.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Orange Grove Families", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 7:
{
SetPlayerPos(playerid, 2498.2249,-1644.6326,18.8751);
SetPlayerCameraPos(playerid, 2498.2676,-1640.1935,18.6116);
SetPlayerCameraLookAt(playerid, 2498.2249,-1644.6326,18.8751);
SetPlayerFacingAngle(playerid, 0.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Orange Grove Families", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 8:
{
SetPlayerPos(playerid, 2785.7817,-1956.1940,20.4537);
SetPlayerCameraPos(playerid, 2791.5693,-1956.3384,21.3124);
SetPlayerCameraLookAt(playerid, 2785.7817,-1956.1940,20.4537);
InterpolateCameraPos(playerid, 2498.2676,-1640.1935,18.6116, 2791.5693,-1956.3384,21.3124, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 270.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Hoodlum", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 9:
{
SetPlayerPos(playerid, 2785.7817,-1956.1940,20.4537);
SetPlayerCameraPos(playerid, 2791.5693,-1956.3384,21.3124);
SetPlayerCameraLookAt(playerid, 2785.7817,-1956.1940,20.4537);
SetPlayerFacingAngle(playerid, 270.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Hoodlum", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 10:
{
SetPlayerPos(playerid, -2446.6492,-78.0747,34.1809);
SetPlayerCameraPos(playerid, -2445.4675,-83.2549,34.2572);
SetPlayerCameraLookAt(playerid, -2446.6492,-78.0747,34.1809);
InterpolateCameraPos(playerid, 2791.5693,-1956.3384,21.3124, -2445.4675,-83.2549,34.2572, 2500, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 180.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Rifa", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 11:
{
SetPlayerPos(playerid, -2446.6492,-78.0747,34.1809);
SetPlayerCameraPos(playerid, -2445.4675,-83.2549,34.2572);
SetPlayerCameraLookAt(playerid, -2446.6492,-78.0747,34.1809);
SetPlayerFacingAngle(playerid, 180.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Rifa", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 12:
{
SetPlayerPos(playerid, -2196.6521,608.2758,35.1641);
SetPlayerCameraPos(playerid, -2199.9006,606.6349,35.1641);
SetPlayerCameraLookAt(playerid, -2196.6521,608.2758,35.1641);
InterpolateCameraPos(playerid, -2445.4675,-83.2549,34.2572, -2199.9006,606.6349,35.1641, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 110.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Triad", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 13:
{
SetPlayerPos(playerid, -2196.6521,608.2758,35.1641);
SetPlayerCameraPos(playerid, -2199.9006,606.6349,35.1641);
SetPlayerCameraLookAt(playerid, -2196.6521,608.2758,35.1641);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Triad", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 14:
{
SetPlayerPos(playerid, -1652.6858,1408.6296,9.8047);
SetPlayerCameraPos(playerid, -1651.6547,1412.3341,9.8047);
SetPlayerCameraLookAt(playerid, -1652.6858,1408.6296,9.8047);
InterpolateCameraPos(playerid, -2199.9006,606.6349,35.1641, -1651.6547,1412.3341,9.8047, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, -10.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Da Nang", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 15:
{
SetPlayerPos(playerid, -1652.6858,1408.6296,9.8047);
SetPlayerCameraPos(playerid, -1651.6547,1412.3341,9.8047);
SetPlayerCameraLookAt(playerid, -1652.6858,1408.6296,9.8047);
SetPlayerFacingAngle(playerid, -10.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Da Nang", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 16:
{
SetPlayerPos(playerid, -2082.2502,230.6593,35.538;
SetPlayerCameraPos(playerid, -2085.1948,228.5887,35.6940);
SetPlayerCameraLookAt(playerid, -2082.2502,230.6593,35.538;
InterpolateCameraPos(playerid, -1651.6547,1412.3341,9.8047, -2085.1948,228.5887,35.6940, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 130.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Worker", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 17:
{
SetPlayerPos(playerid, -2082.2502,230.6593,35.538;
SetPlayerCameraPos(playerid, -2085.1948,228.5887,35.6940);
SetPlayerCameraLookAt(playerid, -2082.2502,230.6593,35.538;
SetPlayerFacingAngle(playerid, 130.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Worker", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 18:
{
SetPlayerPos(playerid, -1627.8352,674.1260,7.1875);
SetPlayerCameraPos(playerid, -1631.2100,676.1075,7.1875);
SetPlayerCameraLookAt(playerid, -1627.8352,674.1260,7.1875);
InterpolateCameraPos(playerid, -2085.1948,228.5887,35.6940, -1631.2100,676.1075,7.1875, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid, 60.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Cop", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 19:
{
SetPlayerPos(playerid, -1627.8352,674.1260,7.1875);
SetPlayerCameraPos(playerid, -1631.2100,676.1075,7.1875);
SetPlayerCameraLookAt(playerid, -1627.8352,674.1260,7.1875);
SetPlayerFacingAngle(playerid, 60.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Cop", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 20:
{
SetPlayerPos(playerid,1289.1920,1313.4346,17.3299) ;
SetPlayerCameraPos(playerid,1287.9818,1315.8494,17 .6311);
SetPlayerCameraLookAt(playerid,1289.1920,1313.4346 ,17.3299);
InterpolateCameraPos(playerid, -1631.2100,676.1075,7.1875, 1287.9818,1315.8494,17.6311, 2500, CAMERA_MOVE);
SetPlayerFacingAngle(playerid,30.0);
GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Guard", 3000, 3 );
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 21:
{
SetPlayerPos(playerid,1289.1920,1313.4346,17.3299) ;
SetPlayerCameraPos(playerid,1287.9818,1315.8494,17 .6311);
SetPlayerCameraLookAt(playerid,1289.1920,1313.4346 ,17.3299);
SetPlayerFacingAngle(playerid,30.0);
GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Guard", 3000, 3 );
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 22:
{
SetPlayerPos(playerid,2430.9939,2047.5365,10.8203) ;
SetPlayerCameraPos(playerid,2428.7488,2043.9611,10 .8203);
SetPlayerCameraLookAt(playerid,2430.9939,2047.5365 ,10.8203);
InterpolateCameraPos(playerid, 1287.9818,1315.8494,17.6311, 2428.7488,2043.9611,10.8203, 2000, CAMERA_MOVE);
SetPlayerFacingAngle( playerid, 140.0 );
GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Biker", 3000, 3 );
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 23:
{
SetPlayerPos(playerid,2430.9939,2047.5365,10.8203) ;
SetPlayerCameraPos(playerid,2428.7488,2043.9611,10 .8203);
SetPlayerCameraLookAt(playerid,2430.9939,2047.5365 ,10.8203);
SetPlayerFacingAngle( playerid, 140.0 );
GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Biker", 3000, 3 );
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 24:
{
SetPlayerPos(playerid,2080.5840,1682.7871,10.8203) ;
SetPlayerCameraPos(playerid,2077.9380,1684.2322,10 .8203);
SetPlayerCameraLookAt(playerid,2080.5840,1682.7871 ,10.8203);
InterpolateCameraPos(playerid, 2428.7488,2043.9611,10.8203, 2077.9380,1684.2322,10.8203, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid,55.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Mafia", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 25:
{
SetPlayerPos(playerid,2080.5840,1682.7871,10.8203) ;
SetPlayerCameraPos(playerid,2077.9380,1684.2322,10 .8203);
SetPlayerCameraLookAt(playerid,2080.5840,1682.7871 ,10.8203);
SetPlayerFacingAngle(playerid,55.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Mafia", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 26:
{
SetPlayerPos(playerid,2126.6423,1144.6746,13.5095) ;
SetPlayerCameraPos(playerid,2124.0168,1146.0432,13 .5092);
SetPlayerCameraLookAt(playerid,2126.6423,1144.6746 ,13.5095);
InterpolateCameraPos(playerid, 2077.9380,1684.2322,10.8203, 2124.0168,1146.0432,13.5092, 2000, CAMERA_MOVE);
SetPlayerFacingAngle( playerid, 50.0 );
GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Elvis Fanclub", 3000, 3 );
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 27:
{
SetPlayerPos(playerid,2126.6423,1144.6746,13.5095) ;
SetPlayerCameraPos(playerid,2124.0168,1146.0432,13 .5092);
SetPlayerCameraLookAt(playerid,2126.6423,1144.6746 ,13.5095);
SetPlayerFacingAngle( playerid, 50.0 );
GameTextForPlayer( playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Elvis Fanclub", 3000, 3 );
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
case 28:
{
SetPlayerPos(playerid,1597.1831,2312.2361,18.8222) ;
SetPlayerCameraPos(playerid,1594.8032,2311.0300,18 .8222);
SetPlayerCameraLookAt(playerid,1597.1831,2312.2361 ,18.8222);
InterpolateCameraPos(playerid, 2124.0168,1146.0432,13.5092, 1594.8032,2311.0300,18.8222, 2000, CAMERA_MOVE);
SetPlayerFacingAngle(playerid,110.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Mechanic", 3000, 3);
ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1);
}
case 29:
{
SetPlayerPos(playerid,1597.1831,2312.2361,18.8222) ;
SetPlayerCameraPos(playerid,1594.8032,2311.0300,18 .8222);
SetPlayerCameraLookAt(playerid,1597.1831,2312.2361 ,18.8222);
SetPlayerFacingAngle(playerid,110.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Mechanic", 3000, 3);
ApplyAnimation( playerid, "STRIP", "PUN_HOLLER", 4.0, 1, 1, 1, 1, 1 );
}
}
return 1;
}
|