OKStyle

Love Fist Concert

Oct 9th, 2011
438
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2. // Live Concert of LoveFist by O.K.Style™ & BoobleGum aka Dreamstork
  3. new LiveScene[83], LuvFst;
  4. public OnFilterScriptInit()
  5. {
  6.     ConnectNPC("Dick", "blank");
  7.     ConnectNPC("Percy", "blank");
  8.     ConnectNPC("Jezz", "blank");
  9.    
  10.     LuvFst = CreateVehicle(409, -1615.4774, 885.4456, 48.0827, 202.5649, 45, 0, -1);
  11.  
  12.  
  13.     LiveScene[0] = CreateObject(18284, -1619.39318848, 890.92974854, 44.21365356, 0.0, 0.0,   0.00000000);
  14.     LiveScene[1] = CreateObject(18284, -1619.39392090, 879.33050537, 44.21365356, 0.0, 0.0,   0.00000000);
  15.     LiveScene[2] = CreateObject(18284, -1611.53405762, 879.35314941, 44.21365356, 0.0, 0.0,   0.00000000);
  16.     LiveScene[3] = CreateObject(18284, -1611.61865234, 890.88610840, 44.21365356, 0.0, 0.0,   0.00000000);
  17.     LiveScene[4] = CreateObject(16088, -1608.46899414, 885.52661133, 47.16677856, 0.0, 0.0,   0.00000000);
  18.     LiveScene[5] = CreateObject(  970, -1607.65295410, 875.90185547, 47.71825790, 0.0, 0.0,  90.50000000);
  19.     LiveScene[6] = CreateObject(  970, -1607.61010742, 872.17663574, 47.71825790, 0.0, 0.0,  90.49987793);
  20.     LiveScene[7] = CreateObject(  970, -1609.67260742, 870.08428955, 47.71825790, 0.0, 0.0,   0.74987793);
  21.     LiveScene[8] = CreateObject(  970, -1613.77160645, 869.99694824, 47.71825790, 0.0, 0.0,   0.74707031);
  22.     LiveScene[9] = CreateObject(  970, -1617.86743164, 869.99609375, 47.71825790, 0.0, 0.0,   0.74707031);
  23.     LiveScene[10] = CreateObject( 970, -1621.24035645, 869.95233154, 47.71825790, 0.0, 0.0,   0.74707031);
  24.     LiveScene[11] = CreateObject( 970, -1623.25708008, 871.92376709, 47.71825790, 0.0, 0.0,  90.99707031);
  25.     LiveScene[12] = CreateObject( 970, -1623.31506348, 876.05670166, 47.71825790, 0.0, 0.0,  90.99426270);
  26.     LiveScene[13] = CreateObject( 970, -1623.33337402, 880.08038330, 47.71825790, 0.0, 0.0,  90.99426270);
  27.     LiveScene[14] = CreateObject( 970, -1623.41833496, 884.21429443, 47.71825790, 0.0, 0.0,  90.99426270);
  28.     LiveScene[15] = CreateObject( 970, -1623.49755859, 888.36962891, 47.71825790, 0.0, 0.0,  90.99426270);
  29.     LiveScene[16] = CreateObject( 970, -1623.55639648, 892.47186279, 47.71825790, 0.0, 0.0,  90.99426270);
  30.     LiveScene[17] = CreateObject( 970, -1623.61572266, 896.50598145, 47.71825790, 0.0, 0.0,  90.99426270);
  31.     LiveScene[18] = CreateObject( 970, -1621.57519531, 899.16802979, 47.71825790, 0.0, 0.0,  15.74423218);
  32.     LiveScene[19] = CreateObject( 970, -1617.52832031, 900.09906006, 47.71825790, 0.0, 0.0, 189.74182129);
  33.     LiveScene[20] = CreateObject( 970, -1613.48754883, 900.44885254, 47.71825790, 0.0, 0.0, 180.48937988);
  34.     LiveScene[21] = CreateObject( 970, -1610.02587891, 900.48529053, 47.71825790, 0.0, 0.0, 180.48889160);
  35.     LiveScene[22] = CreateObject( 970, -1607.74475098, 898.43334961, 47.71825790, 0.0, 0.0, 276.48889160);
  36.     LiveScene[23] = CreateObject( 970, -1607.53674316, 895.31549072, 47.71825790, 0.0, 0.0, 271.48742676);
  37.     LiveScene[24] = CreateObject(2311, -1613.47534180, 870.51818848, 47.16677856, 0.0, 0.0,  89.50000000);
  38.     LiveScene[25] = CreateObject(2311, -1613.46240234, 872.79473877, 47.16677856, 0.0, 0.0,  89.49462891);
  39.     LiveScene[26] = CreateObject(2311, -1612.58801270, 870.49975586, 47.16677856, 0.0, 0.0,  89.49462891);
  40.     LiveScene[27] = CreateObject(2311, -1612.55664062, 872.80761719, 47.16677856, 0.0, 0.0,  89.49462891);
  41.     LiveScene[28] = CreateObject(1719, -1612.33337402, 874.50518799, 47.70169830, 0.0, 0.0, 269.99996948);
  42.     LiveScene[29] = CreateObject(1783, -1612.32568359, 873.93176270, 47.74293900, 0.0, 0.0,  90.00000000);
  43.     LiveScene[30] = CreateObject(1785, -1612.35144043, 873.11791992, 47.77324295, 0.0, 0.0,  89.00000000);
  44.     LiveScene[31] = CreateObject(1788, -1612.39001465, 872.41448975, 47.74026871, 0.0, 0.0,  90.25000000);
  45.     LiveScene[32] = CreateObject(1790, -1612.37182617, 871.62969971, 47.74203491, 0.0, 0.0,  90.75000000);
  46.     LiveScene[33] = CreateObject(1809, -1612.28002930, 870.71411133, 47.67227173, 0.0, 0.0,  88.75000000);
  47.     LiveScene[34] = CreateObject(1808, -1606.68811035, 870.13775635, 46.21875000, 0.0, 0.0,  91.25000000);
  48.     LiveScene[35] = CreateObject(2102, -1613.34558105, 874.55432129, 47.69176483, 0.0, 0.0,   0.00000000);
  49.     LiveScene[36] = CreateObject(2104, -1612.56689453, 874.67236328, 47.16677856, 0.0, 0.0, 178.00000000);
  50.     LiveScene[37] = CreateObject(2104, -1613.11621094, 874.69079590, 47.16677856, 0.0, 0.0, 177.99499512);
  51.     LiveScene[38] = CreateObject(2190, -1613.05493164, 870.10839844, 47.67227173, 0.0, 0.0, 179.50000000);
  52.     LiveScene[39] = CreateObject(2225, -1613.44079590, 875.27020264, 47.16677856, 0.0, 0.0,   0.00000000);
  53.     LiveScene[40] = CreateObject(2227, -1613.92626953, 875.39916992, 47.16677856, 0.0, 0.0,   0.00000000);
  54.     LiveScene[41] = CreateObject(2229, -1608.66674805, 877.74658203, 47.16677856, 0.0, 0.0,  91.00000000);
  55.     LiveScene[42] = CreateObject(2229, -1608.57055664, 876.99176025, 47.16677856, 0.0, 0.0,  90.99975586);
  56.     LiveScene[43] = CreateObject(2229, -1608.59997559, 876.24176025, 47.16677856, 0.0, 0.0,  90.99975586);
  57.     LiveScene[44] = CreateObject(2229, -1608.57922363, 875.48980713, 47.16677856, 0.0, 0.0,  90.99975586);
  58.     LiveScene[45] = CreateObject(2229, -1608.30346680, 894.02209473, 47.16677856, 0.0, 0.0,  90.99975586);
  59.     LiveScene[46] = CreateObject(2229, -1608.32873535, 894.77478027, 47.16677856, 0.0, 0.0,  90.99975586);
  60.     LiveScene[47] = CreateObject(2229, -1608.32885742, 895.52587891, 47.16677856, 0.0, 0.0,  90.99975586);
  61.     LiveScene[48] = CreateObject(2229, -1608.34973145, 896.35375977, 47.16677856, 0.0, 0.0,  90.99975586);
  62.     LiveScene[49] = CreateObject(2232, -1607.97729492, 879.98040771, 47.76465607, 0.0, 0.0,  88.75000000);
  63.     LiveScene[50] = CreateObject(2232, -1607.94238281, 880.62976074, 47.76465607, 0.0, 0.0,  88.74755859);
  64.     LiveScene[51] = CreateObject(2232, -1607.94238281, 880.62890625, 48.93972778, 0.0, 0.0,  88.74755859);
  65.     LiveScene[52] = CreateObject(2232, -1608.00158691, 879.95581055, 48.93972778, 0.0, 0.0,  88.74755859);
  66.     LiveScene[53] = CreateObject(2232, -1608.01696777, 891.09918213, 47.76465607, 0.0, 0.0,  88.74755859);
  67.     LiveScene[54] = CreateObject(2232, -1608.06250000, 890.32855225, 47.76465607, 0.0, 0.0,  88.74755859);
  68.     LiveScene[55] = CreateObject(2232, -1608.06250000, 890.32812500, 48.91472626, 0.0, 0.0,  88.74755859);
  69.     LiveScene[56] = CreateObject(2232, -1608.17871094, 891.09606934, 48.91472626, 0.0, 0.0,  88.74755859);
  70.     LiveScene[57] = CreateObject(2233, -1608.59069824, 870.78692627, 47.21104813, 0.0, 0.0, 108.00000000);
  71.     LiveScene[58] = CreateObject(2233, -1608.89660645, 900.74212646, 47.16104507, 0.0, 0.0,  71.99560547);
  72.     LiveScene[59] = CreateObject(8877, -1620.47717285, 872.43237305, 53.26105881, 0.0, 0.0, 172.00000000);
  73.     LiveScene[60] = CreateObject(8877, -1621.35668945, 896.76544189, 53.26105881, 0.0, 0.0,  83.99645996);
  74.     LiveScene[61] = CreateObject(1472, -1606.61474609, 885.76196289, 46.63391495, 0.0, 0.0,  89.25000000);
  75.     LiveScene[62] = CreateObject(8880, -1616.48632812, 875.78448486, 54.13264465, 0.0, 0.0, 307.25000000);
  76.     LiveScene[63] = CreateObject(8878, -1616.18957520, 892.28454590, 54.08913040, 0.0, 0.0,  92.00000000);
  77.     LiveScene[64] = CreateObject(1215, -1607.77661133, 868.73352051, 47.57100677, 0.0, 0.0,   0.00000000);
  78.     LiveScene[65] = CreateObject(1215, -1609.77734375, 868.78063965, 47.57100677, 0.0, 0.0,   0.00000000);
  79.     LiveScene[66] = CreateObject(1215, -1611.78430176, 868.75292969, 47.57100677, 0.0, 0.0,   0.00000000);
  80.     LiveScene[67] = CreateObject(1215, -1613.44580078, 868.80004883, 47.57100677, 0.0, 0.0,   0.00000000);
  81.     LiveScene[68] = CreateObject(1215, -1615.15197754, 868.79272461, 47.57100677, 0.0, 0.0,   0.00000000);
  82.     LiveScene[69] = CreateObject(1215, -1616.65869141, 868.80371094, 47.57100677, 0.0, 0.0,   0.00000000);
  83.     LiveScene[70] = CreateObject(1215, -1618.26721191, 868.83154297, 47.57100677, 0.0, 0.0,   0.00000000);
  84.     LiveScene[71] = CreateObject(1215, -1620.11767578, 868.76098633, 47.57100677, 0.0, 0.0,   0.00000000);
  85.     LiveScene[72] = CreateObject(1215, -1621.83312988, 868.85327148, 47.57100677, 0.0, 0.0,   0.00000000);
  86.     LiveScene[73] = CreateObject(1215, -1608.17687988, 901.19494629, 47.57100677, 0.0, 0.0,   0.00000000);
  87.     LiveScene[74] = CreateObject(1215, -1609.55725098, 901.18157959, 47.57100677, 0.0, 0.0,   0.00000000);
  88.     LiveScene[75] = CreateObject(1215, -1611.31713867, 901.12390137, 47.57100677, 0.0, 0.0,   0.00000000);
  89.     LiveScene[76] = CreateObject(1215, -1613.01855469, 901.16137695, 47.57100677, 0.0, 0.0,   0.00000000);
  90.     LiveScene[77] = CreateObject(1215, -1614.48840332, 901.28118896, 47.57100677, 0.0, 0.0,   0.00000000);
  91.     LiveScene[78] = CreateObject(1215, -1616.15319824, 901.16540527, 47.57100677, 0.0, 0.0,   0.00000000);
  92.     LiveScene[79] = CreateObject(1215, -1617.75720215, 901.17089844, 47.57100677, 0.0, 0.0,   0.00000000);
  93.     LiveScene[80] = CreateObject(1215, -1619.43017578, 901.25750732, 47.57100677, 0.0, 0.0,   0.00000000);
  94.     LiveScene[81] = CreateObject(1215, -1621.05090332, 901.36383057, 47.57100677, 0.0, 0.0,   0.00000000);
  95.     LiveScene[82] = CreateObject(1215, -1622.41967773, 901.47503662, 47.57100677, 0.0, 0.0,   0.00000000);
  96.     return 1;
  97. }
  98. public OnFilterScriptExit()
  99. {
  100.     for(new i; i < sizeof(LiveScene); i++)
  101.     {
  102.         DestroyObject(LiveScene[i]);
  103.     }
  104.     for(new i, j = GetMaxPlayers(); i != j; i++)
  105.     {
  106.         if(!IsPlayerConnected(i)) continue;
  107.         if(!IsPlayerNPC(i)) continue;
  108.         Kick(i);
  109.     }
  110.     DestroyVehicle(LuvFst);
  111.     return 1;
  112. }
  113. public OnPlayerSpawn(playerid)
  114. {
  115.     SetPlayerTime(playerid, 0, 0);
  116.     if(!IsPlayerNPC(playerid))
  117.     {
  118.         SetPlayerPos(playerid, -1588.2439, 886.1553, 47.2188);
  119.         SetPlayerFacingAngle(playerid, 90.0);
  120.     }
  121.     else if(IsPlayerNPC(playerid))
  122.     {
  123.        new PlayerName[MAX_PLAYER_NAME];
  124.        GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  125.        if(strcmp(PlayerName, "Dick", true) == 0)
  126.        {
  127.            SetPlayerSkin(playerid, 18);
  128.            SetPlayerColor(playerid, 0x00000000);
  129.            SetPlayerPos(playerid, -1609.5, 882.4775, 48.16);
  130.            SetPlayerFacingAngle(playerid, -90.0);
  131.            SetPlayerAttachedObject(playerid, 1, 19317, 6);
  132.        }
  133.        else if(strcmp(PlayerName, "Percy", true) == 0)
  134.        {
  135.            SetPlayerSkin(playerid, 19);
  136.            SetPlayerColor(playerid, 0x00000000);
  137.            SetPlayerPos(playerid, -1609.5, 885.4981, 48.16);
  138.            SetPlayerFacingAngle(playerid, -90.0);
  139.            SetPlayerAttachedObject(playerid, 2, 19318, 6);
  140.        }
  141.        else if(strcmp(PlayerName, "Jezz", true) == 0)
  142.        {
  143.            SetPlayerSkin(playerid, 20);
  144.            SetPlayerColor(playerid, 0x00000000);
  145.            SetPlayerPos(playerid, -1609.5, 888.2766, 48.16);
  146.            SetPlayerFacingAngle(playerid, -90.0);
  147.            SetPlayerAttachedObject(playerid, 3, 19319, 6);
  148.        }
  149.     }
  150.     return 1;
  151. }
  152. public OnPlayerStreamIn(playerid, forplayerid)
  153. {
  154.     if(IsPlayerNPC(playerid))
  155.     {
  156.        new PlayerName[MAX_PLAYER_NAME];
  157.        GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  158.        if(strcmp(PlayerName, "Dick", true) == 0)
  159.        {
  160.            ApplyAnimation(playerid, "DANCING", "dnce_M_b", 1, 1, 1, 1, 1, 1, 1);
  161.        }
  162.        else if(strcmp(PlayerName, "Percy", true) == 0)
  163.        {
  164.            ApplyAnimation(playerid, "DANCING", "dance_loop", 1, 1, 1, 1, 1, 1, 1);
  165.        }
  166.        else if(strcmp(PlayerName, "Jezz", true) == 0)
  167.        {
  168.            ApplyAnimation(playerid, "DANCING", "dnce_M_b", 1, 1, 1, 1, 1, 1, 1);
  169.        }
  170.     }
  171.     PlayAudioStreamForPlayer(forplayerid, "http://stream4.radiostyle.ru:8004/a-rock", 0.0, 0.0, 0.0, 20.0, 0);
  172.     return 1;
  173. }
  174. public OnPlayerStreamOut(playerid, forplayerid)
  175. {
  176.     StopAudioStreamForPlayer(forplayerid);
  177.     return 1;
  178. }
  179.  
RAW Paste Data