17.09.2012, 08:44
Actually this is the same as the regular one. Is it possible to make the camera like chase to the next selection, cuz ive seen it in a ton of servers and it looked so epic!!!
Here is my real script
please help!
Here is my real script
Quote:
public OnPlayerRequestClass( playerid, classid ) { SetPlayerClass( playerid, classid ); SetPlayerColor( playerid, COLOR_INACTIVE ); PlayerPlaySound( playerid, 1068, 0.0, 0.0, 0.0 ); switch(classid) { case 0..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,"RIOT", "RIOT_ANGRY",4.0,1,1,1,1,1); } case 2..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,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,1); } case 4..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,"GHANDS", "gsign2LH",4.0,1,1,1,1,1); } case 6..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,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1); } case 8..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,"DEALER", "DEALER_IDLE",4.0,1,1,1,1,1); } case 10..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,"GYMNASIUM", "GYMshadowbox",4.0,1,1,1,1,1); } case 12..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); SetPlayerFacingAngle(playerid, 110.0); GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~y~Triad", 3000, 3); ApplyAnimation(playerid,"GANGS", "Invite_Yes",4.0,1,1,1,1,1); } case 14..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,"LOWRIDER", "RAP_A_Loop",4.0,1,1,1,1,1); } case 16..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,"COP_AMBIENT", "Coplook_think",4.0,1,1,1,1,1); } case 18..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,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1); } case 20..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,"RIOT", "RIOT_ANGRY",4.0,1,1,1,1,1); } case 22..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..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,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1); } case 26..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,"GYMNASIUM", "GYMshadowbox",4.0,1,1,1,1,1); } case 28..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,"LOWRIDER", "RAP_A_Loop",4.0,1,1,1,1,1); } } return 1; } |