InternetInk

CVN Colossos-Script

Nov 10th, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 27.75 KB | None | 0 0
  1. /*
  2. Script created by InternetINk @ 20.11.2011
  3. Map created by InternetINk @ \.12.2009
  4.  
  5. Have fun with it! =D
  6. */
  7. #include <a_samp>
  8. #include <streamer>
  9.  
  10. #define never 604800016
  11.  
  12. forward HeliUp();
  13. forward HeliDown();
  14. forward Heli2Up();
  15. forward Heli2Down();
  16.  
  17. new CVNMVO[12];
  18. new CVNMVOS[8];
  19. new CVN[170];
  20. new CVNV[40];
  21.  
  22. public OnFilterScriptInit()
  23. {
  24.     //============================= VEHICLES ===============================
  25.     CVNV[0] = CreateVehicle(425,-2965.4089,1660.6678,18.7243,267.6428,0,0,never); // Hunter
  26.     CVNV[1] = CreateVehicle(425,-2946.6602,1668.2594,18.7220,269.2158,0,0,never); // Hunter
  27.     CVNV[2] = CreateVehicle(520,-3270.5596,1683.6455,11.7679,233.5566,0,0,never); // Hydra
  28.     CVNV[3] = CreateVehicle(520,-3257.5920,1684.5955,11.7653,223.4981,0,0,never); // Hydra
  29.     CVNV[4] = CreateVehicle(520,-3244.2910,1684.6569,11.7668,219.6672,0,0,never); // Hydra
  30.     CVNV[5] = CreateVehicle(487,-3092.5566,1645.9913,2.851,268.7578,86,86,never); // Maverick
  31.     CVNV[6] = CreateVehicle(487,-3074.7498,1645.8027,2.851,89.0741,86,86,never); // Maverick
  32.     CVNV[7] = CreateVehicle(548,-3137.2976,1665.8240,19.8513,269.2653,0,0,never); // Crgobob
  33.     CVNV[8] = CreateVehicle(425,-3168.5974,1653.4980,19.6463,0.0000,0,0,never); // Hunter
  34.     CVNV[9] = CreateVehicle(425,-3221.8208,1653.5566,19.6276,359.9951,0,0,never); // Hunter
  35.     CVNV[10] = CreateVehicle(520,-3154.7898,1675.8053,11.9440,57.8528,0,0,never); // Hydra
  36.     CVNV[11] = CreateVehicle(520,-3166.0005,1672.7556,11.9495,65.6763,0,0,never); // Hydra
  37.     CVNV[12] = CreateVehicle(417,-3408.6318,1653.3207,10.6671,268.8081,0,0,never); // Leviathan
  38.     CVNV[13] = CreateVehicle(583,-3358.5781,1642.7611,2.0745,0.0000,6,6,never); // Tug
  39.     CVNV[14] = CreateVehicle(583,-3354.5681,1642.8430,2.0754,0.1801,6,6,never); // Tug
  40.     CVNV[15] = CreateVehicle(583,-3362.0083,1642.3417,2.0743,0.0000,6,6,never); // Tug
  41.     CVNV[16] = CreateVehicle(583,-3365.8240,1642.3579,2.0753,0.0000,6,6,never); // Tug
  42.     CVNV[17] = CreateVehicle(583,-3369.0950,1642.8933,2.0743,0.0000,6,6,never); // Tug
  43.     CVNV[18] = CreateVehicle(425,-3253.1150,1652.9626,20.8063,359.9994,0,0,never); // Hunter
  44.     CVNV[19] = CreateVehicle(425,-3275.8828,1653.6691,20.8052,0.0000,0,0,never); // Hunter
  45.     CVNV[20] = CreateVehicle(425,-3310.5618,1652.5742,21.0824,0.0000,0,0,never); // Hunter
  46.     CVNV[21] = CreateVehicle(425,-3360.1055,1653.8772,20.9266,359.9755,0,0,never); // Hunter
  47.     CVNV[22] = CreateVehicle(425,-3385.1433,1653.5366,20.9855,0.0000,0,0,never); // Hunter
  48.     CVNV[23] = CreateVehicle(574,-3165.6609,1651.2827,11.1917,181.7099,1,1,never); // Sweeper
  49.     CVNV[24] = CreateVehicle(574,-3170.1404,1652.6101,11.1917,177.9659,1,1,never); // Sweeper
  50.     CVNV[25] = CreateVehicle(574,-3175.5039,1652.1157,11.1917,185.1165,1,1,never); // Sweeper
  51.     CVNV[26] = CreateVehicle(583,-3068.7239,1662.1573,17.7896,179.8176,6,6,never); // Tug
  52.     CVNV[27] = CreateVehicle(583,-3072.6113,1662.1086,17.7897,180.4146,6,6,never); // Tug
  53.     CVNV[28] = CreateVehicle(583,-3076.1929,1662.2091,17.7884,180.5359,6,6,never); // Tug
  54.     CVNV[29] = CreateVehicle(583,-3201.9585,1642.3204,17.7780,358.2207,6,6,never); // Tug
  55.     CVNV[30] = CreateVehicle(583,-3201.7834,1648.9711,17.7779,359.2300,6,6,never); // Tug
  56.     CVNV[31] = CreateVehicle(520,-3281.2937,1646.4214,3.2412,49.4456,0,0,never); // Hydra
  57.     CVNV[32] = CreateVehicle(520,-3292.8777,1645.5610,3.2322,45.3924,0,0,never); // Hydra
  58.     CVNV[33] = CreateVehicle(520,-3284.2910,1658.2607,3.2475,114.3351,0,0,never); // Hydra
  59.     CVNV[34] = CreateVehicle(520,-3295.6536,1656.6475,3.2372,124.2051,0,0,never); // Hydra
  60.     CVNV[35] = CreateVehicle(520,-3304.1216,1646.0167,3.2395,37.3406,0,0,never); // Hydra
  61.     CVNV[36] = CreateVehicle(520,-3306.9358,1657.5675,3.2379,134.0074,0,0,never); // Hydra
  62.     CVNV[37] = CreateVehicle(530,-3324.1543,1656.3391,2.2808,267.0086,6,6,never); // Forklift
  63.     CVNV[38] = CreateVehicle(530,-3324.1389,1660.0454,2.2791,272.1802,6,6,never); // Forklift
  64.     CVNV[39] = CreateVehicle(530,-3324.1846,1662.3925,2.2783,271.0847,6,6,never); // Forklift
  65.  
  66.     //============================= MAIN/STREAM OBJECTS ===============================
  67.     CVN[0] = CreateObject(10771, -3098.880615, 1653.062988, 5.322727, 0.000000, 0.000000, 0.000000);//
  68.     CVN[1] = CreateDynamicObject(11145, -3255.071533, 1678.968994, 4.072016, 0.000000, 0.000000, -179.999962552);
  69.     CVN[2] = CreateDynamicObject(10771, -3098.797119, 1679.019897, 5.466712, 0.000000, 0.000000, 0.000000);//
  70.     CVN[3] = CreateObject(10771, -3037.202393, 1666.357544, 5.460382, 0.000000, 0.000000, -359.9999824);//
  71.     CVN[4] = CreateDynamicObject(5155, -3029.227295, 1654.176147, 24.461622, 0.000000, 0.000000, 0.000000);
  72.     CVN[5] = CreateDynamicObject(10772, -3097.369873, 1678.636230, 17.300116, 0.000000, 0.000000, 0.000000);
  73.     CVN[6] = CreateDynamicObject(10772, -3036.070313, 1666.352905, 17.249743, 0.000000, 0.000000, 0.000000);
  74.     CVN[7] = CreateDynamicObject(10770, -3031.694336, 1654.524658, 38.555210, 0.000000, 0.000000, 0.000000);
  75.     CVN[8] = CreateDynamicObject(11237, -3031.557617, 1654.497070, 28.266373, 0.000000, 0.000000, 0.000000);
  76.     CVN[9] = CreateDynamicObject(10810, -3142.018311, 1649.369507, 14.771687, 0.000000, 0.000000, 192.968862245);
  77.     CVN[10] = CreateDynamicObject(1682, -3139.096924, 1649.283569, 26.025917, 0.000000, 0.000000, 71.9274600231);
  78.     CVN[11] = CreateObject(11146, -3107.855713, 1679.574951, 12.320047, 0.000000, 0.000000, 0.000000);
  79.     CVN[12] = CreateObject(3115, -3211.065918, 1648.765625, 16.907602, 0.000000, 0.000000, -360.000096991);
  80.     CVN[13] = CreateDynamicObject(972, -3143.763672, 1677.456543, 8.448175, 0.000000, 0.000000, 1.71881608961);
  81.     CVN[14] = CreateObject(9823, -3106.302734, 1691.864990, 11.889828, 0.000000, 0.000000, 89.999981276);
  82.     CVN[15] = CreateDynamicObject(16000, -3064.857910, 1692.781982, 4.735055, 0.000000, 0.000000, 0.000000);
  83.     CVN[16] = CreateDynamicObject(3114, -2987.067139, 1688.589844, 16.694613, 0.000000, 0.000000, -180.000019848);
  84.     CVN[17] = CreateDynamicObject(3114, -2978.850342, 1681.706421, 16.625406, 0.000000, 0.000000, -359.9999824);
  85.     CVN[18] = CreateDynamicObject(3114, -2957.757813, 1681.641235, 16.625399, 0.000000, 0.000000, -359.9999824);
  86.     CVN[19] = CreateDynamicObject(3114, -2945.842773, 1681.635132, 16.650398, 0.000000, 0.000000, -359.9999824);
  87.     CVN[20] = CreateDynamicObject(3114, -2966.141846, 1688.528198, 16.627851, 0.000000, 0.000000, -539.999887656);
  88.     CVN[21] = CreateDynamicObject(3114, -2945.820801, 1688.517578, 16.602852, 0.000000, 0.000000, -539.999887656);
  89.     CVN[22] = CreateDynamicObject(3114, -2932.650391, 1683.574463, 16.627859, 0.000000, 0.000000, -449.999963676);
  90.     CVN[23] = CreateDynamicObject(3277, -3116.061768, 1650.983643, 17.945829, 0.000000, 0.000000, 0.000000);
  91.     CVN[24] = CreateDynamicObject(3277, -2989.510986, 1659.081421, 17.922058, 0.000000, 0.000000, 0.000000);
  92.     CVN[25] = CreateDynamicObject(3277, -2940.974365, 1658.294189, 17.847057, 0.000000, 0.000000, 0.000000);
  93.     CVN[26] = CreateDynamicObject(3267, -2989.145996, 1658.970947, 17.932503, 0.000000, 0.000000, -33.7500216264);
  94.     CVN[27] = CreateDynamicObject(3267, -2940.971436, 1658.575928, 17.857502, 0.000000, 0.000000, -33.7500216264);
  95.     CVN[28] = CreateDynamicObject(3267, -3116.337402, 1650.878174, 17.923582, 0.000000, 0.000000, 236.250036793);
  96.     CVN[29] = CreateObject(9241, -3221.918945, 1653.967651, 17.252684, 0.000000, 0.000000, -90.0000385718);
  97.     CVN[30] = CreateDynamicObject(10771, -3317.902832, 1679.145874, 5.482378, 0.000000, 0.000000, -539.999944952);
  98.     CVN[31] = CreateDynamicObject(10771, -3218.338623, 1653.069702, 5.334173, 0.000000, 0.000000, -360.000039696);
  99.     CVN[32] = CreateDynamicObject(10771, -3313.161865, 1653.063354, 5.454702, 0.000000, 0.000000, -719.999678321);
  100.     CVN[33] = CreateDynamicObject(10770, -3321.197754, 1686.551514, 38.689857, 0.000000, 0.000000, -180.000019848);
  101.     CVN[34] = CreateDynamicObject(10772, -3319.484863, 1679.066528, 17.286745, 0.000000, 0.000000, -179.999962552);
  102.     CVN[35] = CreateObject(9241, -3385.021973, 1654.020630, 17.226114, 0.000000, 0.000000, -90.0000958676);
  103.     CVN[36] = CreateObject(9241, -3361.157227, 1653.911865, 17.252693, 0.000000, 0.000000, -989.999622149);
  104.     CVN[37] = CreateDynamicObject(3115, -3313.395752, 1649.980713, 16.857603, 0.000000, 0.000000, 180.000019848);
  105.     CVN[38] = CreateDynamicObject(3115, -3338.797607, 1660.293823, 16.918270, 0.000000, 0.000000, 0.000000);
  106.     CVN[39] = CreateDynamicObject(11237, -3321.179199, 1686.558716, 38.578529, 0.000000, 0.000000, -180.000019848);
  107.     CVN[40] = CreateObject(9241, -3309.644043, 1653.844116, 17.277706, 0.000000, 0.000000, -450.000192859);
  108.     CVN[41] = CreateDynamicObject(3115, -3318.115967, 1648.786743, 16.939548, 0.000000, 0.000000, 180.000019848);
  109.     CVN[42] = CreateObject(11146, -3308.898193, 1678.285889, 12.143085, 0.000000, 0.000000, -180.000019848);
  110.     CVN[43] = CreateDynamicObject(3115, -3265.638428, 1667.933105, 16.909506, 0.000000, 0.000000, -359.999810513);
  111.     CVN[44] = CreateDynamicObject(3115, -3250.864258, 1660.948730, 16.910784, 0.000000, 0.000000, -719.999792912);
  112.     CVN[45] = CreateDynamicObject(3277, -3350.239014, 1686.489502, 20.857767, 0.000000, 0.000000, 0.000000);
  113.     CVN[46] = CreateDynamicObject(3277, -3365.853271, 1685.910278, 17.844038, 0.000000, 0.000000, 0.000000);
  114.     CVN[47] = CreateDynamicObject(3267, -3366.386719, 1685.910034, 17.869045, 0.000000, 0.000000, 101.249950288);
  115.     CVN[48] = CreateDynamicObject(3267, -3350.580566, 1686.370972, 20.943211, 0.000000, 0.000000, -180.000019848);
  116.     CVN[49] = CreateDynamicObject(11149, -3311.877930, 1684.167114, 11.828585, 0.000000, 0.000000, -179.999962552);
  117.     CVN[50] = CreateDynamicObject(16000, -3369.866455, 1667.111084, 5.783098, 0.000000, 0.000000, 0.000000);
  118.     CVN[51] = CreateDynamicObject(3113, -3420.487061, 1653.138184, 1.256249, 0.000000, 0.000000, 0.000000);
  119.     CVN[52] = CreateDynamicObject(3113, -3418.653564, 1668.431519, 1.496228, 0.000000, 0.000000, 0.000000);
  120.     CVN[53] = CreateDynamicObject(3115, -3407.341064, 1669.276733, -1.941380, 0.000000, 0.000000, -0.859379396917);
  121.     CVN[54] = CreateDynamicObject(3115, -3386.894531, 1670.516724, -1.910766, 0.000000, 0.000000, -0.859379396917);
  122.     CVN[55] = CreateDynamicObject(3115, -3372.451660, 1668.688110, -1.950834, 0.000000, 0.000000, -0.859379396917);
  123.     CVN[56] = CreateDynamicObject(3115, -3367.803955, 1656.357422, 16.959494, 0.000000, 0.000000, 0.0);
  124.     CVN[57] = CreateDynamicObject(3115, -3401.593262, 1652.927490, 7.305651, 91.1002894258, 0.000000, -269.999943828);
  125.     CVN[58] = CreateDynamicObject(3114, -3205.441406, 1681.147583, 3.045618, 74.7709922646, 0.000000, -269.999943828);
  126.     CVN[59] = CreateDynamicObject(3114, -3205.448486, 1676.279907, 3.013417, 74.7709922646, 0.000000, -269.999943828);
  127.     CVN[60] = CreateDynamicObject(16500, -3212.241943, 1677.858643, -0.298691, 0.000000, 0.000000, 0.000000);
  128.     CVN[61] = CreateDynamicObject(16500, -3212.247559, 1673.001465, -0.305607, 0.000000, 0.000000, 0.000000);
  129.     CVN[62] = CreateDynamicObject(16500, -3212.241943, 1668.154663, -0.280607, 0.000000, 0.000000, 0.000000);
  130.     CVN[63] = CreateDynamicObject(16500, -3212.249023, 1682.859619, -0.290313, 0.000000, 0.000000, 0.000000);
  131.     CVN[64] = CreateObject(3115, -3136.435791, 1666.584229, 16.967110, 0.000000, 0.000000, -179.999905256);
  132.     CVN[65] = CreateDynamicObject(3851, -3212.285645, 1685.597168, 3.565477, 0.000000, 0.000000, 0.000000);
  133.     CVN[66] = CreateDynamicObject(3851, -3212.285645, 1674.434082, 3.561008, 0.000000, 0.000000, 0.000000);
  134.     CVN[67] = CreateDynamicObject(3851, -3212.285645, 1663.179565, 3.552575, 0.000000, 0.000000, 0.000000);
  135.     CVN[68] = CreateObject(9241, -3252.998047, 1653.795410, 17.302691, 0.000000, 0.000000, -989.999736741);
  136.     CVN[69] = CreateDynamicObject(8947, -3361.912109, 1647.130005, 4.566616, 0.000000, 0.000000, 89.999981276);
  137.     CVN[70] = CreateObject(8947, -3340.141357, 1647.297241, -1.505030, 0.000000, 0.000000, 89.999981276);
  138.     CVN[71] = CreateDynamicObject(3115, -3352.919434, 1650.844849, 16.943199, 0.000000, 0.000000, 89.999981276);
  139.     CVN[72] = CreateObject(3114, -3296.146240, 1659.594360, 7.501389, 0.000000, 0.000000, -540.000002248);
  140.     CVN[73] = CreateDynamicObject(984, -3328.484375, 1645.886841, 17.880409, 0.000000, 0.000000, 0.000000);
  141.     CVN[74] = CreateDynamicObject(984, -3334.867432, 1639.513306, 17.840378, 0.000000, 0.000000, -89.999981276);
  142.     CVN[75] = CreateObject(9241, -3276.088135, 1653.816528, 17.302687, 0.000000, 0.000000, -809.999716893);
  143.     CVN[76] = CreateDynamicObject(3115, -3391.222412, 1652.880249, 16.900808, 0.000000, 0.000000, -179.999905256);
  144.     CVN[77] = CreateDynamicObject(3115, -3339.462402, 1640.327515, 7.787355, 91.1002894258, 0.000000, -359.999925104);
  145.     CVN[78] = CreateDynamicObject(3115, -3336.674805, 1654.389526, 7.762359, 91.1002894258, 0.000000, -179.999847961);
  146.     CVN[79] = CreateDynamicObject(3115, -3344.710205, 1654.426147, 7.472631, 91.1002894258, 0.000000, -179.999847961);
  147.     CVN[80] = CreateDynamicObject(3114, -3340.960205, 1650.591187, 0.943825, 0.000000, 0.000000, -89.999981276);
  148.     CVN[81] = CreateDynamicObject(3114, -3333.203857, 1653.877930, 0.901205, 0.000000, 0.000000, 0.000000);
  149.     CVN[82] = CreateDynamicObject(3114, -3261.170898, 1664.742310, 9.490498, 0.000000, 0.000000, -359.9999824);
  150.     CVN[83] = CreateDynamicObject(3115, -3177.292236, 1649.958374, 16.775633, 0.000000, 0.000000, -540.000002248);
  151.     CVN[84] = CreateObject(9241, -3168.346191, 1653.762085, 17.257078, 0.000000, 0.000000, -90.0000385718);
  152.     CVN[85] = CreateDynamicObject(3115, -3114.863281, 1648.881714, 16.813318, 0.000000, 0.000000, 0.0);
  153.     CVN[86] = CreateDynamicObject(3115, -3056.056152, 1649.788574, 16.800644, 0.000000, 0.000000, -89.9999239803);
  154.     CVN[87] = CreateDynamicObject(8947, -3175.104736, 1647.449341, 13.376331, 0.000000, 0.000000, -449.999963676);
  155.     CVN[88] = CreateObject(8947, -3175.122070, 1647.590576, 7.413016, 0.000000, 0.000000, -449.999963676);
  156.     CVN[89] = CreateDynamicObject(3115, -3192.319092, 1651.340698, 7.692124, 91.9597261185, 0.000000, -540.000002248);
  157.     CVN[90] = CreateDynamicObject(3115, -3200.522949, 1651.359253, 7.499069, 91.9597261185, 0.000000, -450.000135563);
  158.     CVN[91] = CreateDynamicObject(16501, -3182.000977, 1654.921875, 12.667039, 0.000000, 0.000000, -180.000019848);
  159.     CVN[92] = CreateDynamicObject(16501, -3182.031494, 1654.929321, 14.532608, 0.000000, 0.000000, -180.000019848);
  160.     CVN[93] = CreateDynamicObject(984, -3193.576660, 1643.484131, 17.698471, 0.000000, 0.000000, -89.999981276);
  161.     CVN[94] = CreateDynamicObject(983, -3187.255127, 1646.694458, 17.745346, 0.000000, 0.000000, 0.000000);
  162.     CVN[95] = CreateDynamicObject(3115, -3104.939453, 1649.811890, 7.500466, -89.3814160404, 0.000000, 90.0000385718);
  163.     CVN[96] = CreateDynamicObject(3115, -3095.082520, 1639.577637, 7.700627, -89.3814160404, 0.000000, 180.000019848);
  164.     CVN[97] = CreateDynamicObject(3115, -3073.969727, 1639.993164, 7.578761, -89.3814160404, 0.000000, 180.859513836);
  165.     CVN[98] = CreateDynamicObject(3115, -3063.880371, 1650.686035, 7.622991, -89.3814160404, 0.000000, 270.00005842);
  166.     CVN[99] = CreateDynamicObject(3115, -3067.802734, 1651.272583, 7.689977, -89.3814160404, 0.000000, 0.000171887338539);
  167.     CVN[100] = CreateDynamicObject(3115, -3088.224854, 1651.296875, 7.694129, -89.3814160404, 0.000000, 0.000171887338539);
  168.     CVN[101] = CreateDynamicObject(3115, -3108.892334, 1651.304321, 7.566570, -89.3814160404, 0.000000, 0.000171887338539);
  169.     CVN[102] = CreateDynamicObject(3114, -3093.947754, 1678.359497, 16.703548, 0.000000, 0.000000, -719.999792912);
  170.     CVN[103] = CreateDynamicObject(3934, -3136.505127, 1666.402466, 17.261770, 0.000000, 0.000000, 0.000000);
  171.     CVN[104] = CreateDynamicObject(982, -3091.748047, 1639.603882, 17.745346, 0.000000, 0.000000, -89.999981276);
  172.     CVN[105] = CreateDynamicObject(982, -3077.341309, 1639.612671, 17.765072, 0.000000, 0.000000, -89.999981276);
  173.     CVN[106] = CreateDynamicObject(984, -3064.526855, 1645.987549, 17.670715, 0.000000, 0.000000, 0.000000);
  174.     CVN[107] = CreateDynamicObject(984, -3104.569824, 1645.938232, 17.670544, 0.000000, 0.000000, 0.000000);
  175.     CVN[108] = CreateDynamicObject(10770, -3031.721924, 1659.126953, 38.549187, 0.000000, 0.000000, 0.000000);
  176.     CVN[109] = CreateDynamicObject(10770, -3031.677246, 1649.838989, 38.575336, 0.000000, 0.000000, 0.000000);
  177.     CVN[110] = CreateDynamicObject(10770, -3041.559814, 1658.910522, 35.502022, 0.000000, 0.000000, 180.000019848);
  178.     CVN[111] = CreateDynamicObject(3115, -3354.100098, 1649.942017, 7.293972, 0.000000, 0.000000, 0.0);
  179.     CVN[112] = CreateDynamicObject(3115, -3360.603760, 1640.695190, 7.611267, 91.1002894258, 0.000000, -359.9999824);
  180.     CVN[113] = CreateDynamicObject(3115, -3371.116699, 1651.077148, 7.659000, 91.1002894258, 0.000000, -449.999963676);
  181.     CVN[114] = CreateDynamicObject(8947, -3362.583984, 1659.210571, 4.550812, 0.000000, 0.000000, 89.999981276);
  182.     CVN[115] = CreateDynamicObject(3115, -3363.719238, 1661.779907, 7.668197, 91.1002894258, 0.000000, -539.99983036);
  183.     CVN[116] = CreateDynamicObject(3115, -3354.142578, 1649.584961, 15.710257, 0.000000, 0.000000, -540.000002248);
  184.     CVN[117] = CreateDynamicObject(3115, -3364.234619, 1650.006836, 15.734469, 0.000000, 0.000000, -360.000096991);
  185.     CVN[118] = CreateDynamicObject(3795, -3357.806396, 1659.055054, 7.956361, 0.000000, 0.000000, -89.999981276);
  186.     CVN[119] = CreateDynamicObject(3795, -3357.806396, 1655.657715, 7.956057, 0.000000, 0.000000, -89.999981276);
  187.     CVN[120] = CreateDynamicObject(3795, -3361.274414, 1659.105957, 7.967389, 0.000000, 0.000000, -89.999981276);
  188.     CVN[121] = CreateDynamicObject(3795, -3361.273438, 1655.737549, 7.967381, 0.000000, 0.000000, -89.999981276);
  189.     CVN[122] = CreateDynamicObject(3787, -3353.274658, 1652.984985, 8.186394, 0.000000, 0.000000, 0.000000);
  190.     CVN[123] = CreateDynamicObject(3791, -3353.086426, 1642.486572, 8.091245, 0.000000, 0.000000, 0.000000);
  191.     CVN[124] = CreateDynamicObject(3795, -3364.514648, 1659.071777, 7.972804, 0.000000, 0.000000, -89.999981276);
  192.     CVN[125] = CreateDynamicObject(3795, -3364.533936, 1655.807617, 7.945361, 0.000000, 0.000000, -89.999981276);
  193.     CVN[126] = CreateDynamicObject(3795, -3367.981689, 1659.027588, 8.089643, 0.000000, 0.000000, -89.999981276);
  194.     CVN[127] = CreateDynamicObject(3795, -3367.959717, 1655.725830, 8.089643, 0.000000, 0.000000, -89.999981276);
  195.     CVN[128] = CreateDynamicObject(18260, -3365.992676, 1643.598999, 9.143353, 0.000000, 0.000000, -11.2500263074);
  196.     CVN[129] = CreateDynamicObject(3666, -3343.764160, 1651.063354, 16.544071, 0.000000, 0.000000, 0.000000);
  197.     CVN[130] = CreateDynamicObject(3666, -3328.500732, 1650.970215, 16.601261, 0.000000, 0.000000, 0.000000);
  198.     CVN[131] = CreateDynamicObject(3666, -3200.687744, 1651.033447, 16.586927, 0.000000, 0.000000, 0.000000);
  199.     CVN[132] = CreateDynamicObject(3666, -3187.182373, 1651.048096, 16.536940, 0.000000, 0.000000, 0.000000);
  200.     CVN[133] = CreateDynamicObject(3666, -3065.266113, 1650.630859, 16.627935, 0.000000, 0.000000, 0.000000);
  201.     CVN[134] = CreateDynamicObject(3666, -3104.439697, 1650.610229, 16.527952, 0.000000, 0.000000, 0.000000);
  202.     CVN[135] = CreateDynamicObject(3666, -3087.542236, 1650.875610, 16.577940, 0.000000, 0.000000, 0.000000);
  203.     CVN[136] = CreateDynamicObject(3666, -3125.882813, 1656.920044, 16.657001, 0.000000, 0.000000, 0.000000);
  204.     CVN[137] = CreateDynamicObject(3666, -3126.033936, 1675.651123, 16.412146, 0.000000, 0.000000, 0.000000);
  205.     CVN[138] = CreateDynamicObject(3666, -3146.890625, 1675.786011, 16.564543, 0.000000, 0.000000, 0.000000);
  206.     CVN[139] = CreateDynamicObject(3666, -3146.874756, 1656.853760, 16.636938, 0.000000, 0.000000, 0.000000);
  207.     CVN[140] = CreateDynamicObject(1285, -3328.928955, 1651.420776, 17.658754, 0.000000, 0.000000, 179.999962552);
  208.     CVN[141] = CreateDynamicObject(1285, -3200.745361, 1652.960571, 17.697838, 0.000000, 0.000000, 179.999962552);
  209.     CVN[142] = CreateDynamicObject(1286, -3187.224365, 1650.559937, 17.565863, 0.000000, 0.000000, 179.999962552);
  210.     CVN[143] = CreateDynamicObject(1288, -3329.344238, 1651.420410, 17.659294, 0.000000, 0.000000, 180.000019848);
  211.     CVN[144] = CreateDynamicObject(1287, -3401.255859, 1662.269287, 17.667902, 0.000000, 0.000000, 180.000019848);
  212.     CVN[145] = CreateDynamicObject(1287, -3186.957764, 1691.698364, 17.732668, 0.000000, 0.000000, 0.000000);
  213.     CVN[146] = CreateDynamicObject(1287, -3208.358887, 1691.630127, 17.750513, 0.000000, 0.000000, 0.000000);
  214.     CVN[147] = CreateDynamicObject(1287, -3144.692871, 1691.687622, 17.711733, 0.000000, 0.000000, 0.000000);
  215.     CVN[148] = CreateDynamicObject(984, -3071.339844, 1653.442505, 17.886124, 0.000000, 0.000000, -89.999981276);
  216.     CVN[149] = CreateDynamicObject(984, -3071.243164, 1664.484863, 17.886124, 0.000000, 0.000000, -89.999981276);
  217.     CVN[150] = CreateDynamicObject(1287, -3077.814209, 1653.459595, 17.823580, 0.000000, 0.000000, -89.999981276);
  218.     CVN[151] = CreateDynamicObject(1285, -3077.484375, 1664.549927, 17.698582, 0.000000, 0.000000, 269.999943828);
  219.     CVN[152] = CreateDynamicObject(984, -3200.734131, 1646.537231, 17.835493, 0.000000, 0.000000, 0.000000);
  220.     CVN[153] = CreateDynamicObject(982, -3209.387207, 1652.859497, 17.827320, 0.000000, 0.000000, 0.000000);
  221.     CVN[154] = CreateObject(3115, -3360.365479, 1650.077148, 1.237350, 0.000000, 0.000000, 0.0);//
  222.     CVN[155] = CreateObject(11146, -3248.528564, 1653.003174, 3.610046, 0.000000, 0.000000, 0.000000);
  223.     CVN[156] = CreateDynamicObject(3114, -3326.632813, 1664.639648, 1.339052, -268.14413353, 0.000000, -89.999981276);
  224.     CVN[157] = CreateDynamicObject(3114, -3273.900391, 1658.638672, 2.139052, -268.14413353, 0.000000, -270.000001124);
  225.     CVN[158] = CreateDynamicObject(3114, -3296.218018, 1667.066406, 0.914051, 0.000000, 0.000000, -359.9999824);
  226.     CVN[159] = CreateDynamicObject(3114, -3322.364258, 1649.745972, 7.464059, 0.000000, 0.000000, -450.000020972);
  227.     CVN[160] = CreateDynamicObject(3277, -3278.866699, 1686.383911, 17.839104, 0.000000, 0.000000, 0.000000);
  228.     CVN[161] = CreateDynamicObject(3267, -3279.102295, 1686.170288, 17.849548, 0.000000, 0.000000, -44.999990638);
  229.     CVN[162] = CreateDynamicObject(1287, -3329.775879, 1651.418579, 17.657549, 0.000000, 0.000000, -179.999962552);
  230.     CVN[163] = CreateDynamicObject(3114, -3320.062012, 1649.862305, 0.914052, 0.000000, 0.000000, -89.999981276);
  231.     CVN[164] = CreateDynamicObject(1238, -3322.348389, 1651.187866, 1.809476, 0.000000, 0.000000, 0.000000);
  232.     CVN[165] = CreateDynamicObject(3114, -3354.563232, 1660.203003, 5.602195, -178.762774785, -90.2408527331, -177.421652474);
  233.     CVN[166] = CreateDynamicObject(1238, -3322.365723, 1642.379639, 1.834476, 0.000000, 0.000000, 0.000000);
  234.     CVN[167] = CreateDynamicObject(3115, -3345.893555, 1692.563110, 7.363170, 91.1002894258, 0.000000, -539.99983036);
  235.     CVN[168] = CreateDynamicObject(16637, -3208.107422, 1692.586426, 0.465387, 0.000000, 0.000000, 89.999981276);
  236.     CVN[169] = CreateDynamicObject(983, -3205.052734, 1640.039917, 17.927174, 0.000000, 0.000000, -89.999981276);
  237.  
  238.     //============================= MOVE OBJECTS ===============================
  239.     CVNMVO[0] = CreateObject(3115, -3197.853516, 1678.964355, 16.954475, 0.0, 0.0, -359.9999824);
  240.     CVNMVO[1] = CreateObject(3114, -3155.618408, 1693.998413, 16.676508, 0.0, 0.0, -359.9999824);
  241.     CVNMVO[2] = CreateObject(3115, -3218.786865, 1679.168335, 16.945608, 0.0, 0.0, -179.999905256);
  242.     CVNMVO[3] = CreateObject(3114,-3333.125,1645.380,16.671,0.0,0.0,-360.000);
  243.     CVNMVO[4] = CreateObject(3114,-3197.916,1649.275,16.571,0.0,0.0,-360.000);
  244.     CVNMVO[5] = CreateObject(16500, -3212.266846, 1687.842285, -0.306238, 0.0, 0.0, 0.000000);
  245.     CVNMVO[6] = CreateObject(3114,-3093.957,1645.612,16.564,0.0,0.0,-720.000);
  246.     CVNMVO[7] = CreateObject(3114,-3075.481,1645.597,16.549,0.0,0.0,-720.000);
  247.     CVNMVO[8] = CreateObject(3114,-3093.965,1645.604,2.642,0.0,0.0,-720.000);
  248.     CVNMVO[9] = CreateObject(3114,-3075.503,1645.608,2.651,0.0,0.0,-720.000);
  249.     CVNMVO[10] = CreateObject(3115,-3412.142,1653.161,9.256,0.0,0.0,-180.000);
  250.     CVNMVO[11] = CreateObject(3115,-3411.995,1653.149,16.910,0.0,0.0,-180.000);
  251.  
  252.     print("\n----------------------------------");
  253.     print(" CVN-Carrier by InternetInk loaded!");
  254.     print("----------------------------------\n");
  255.  
  256.     return 1;
  257. }
  258.  
  259. public OnFilterScriptExit()
  260. {
  261.     for(new so = 0; so < 170; so++)
  262.     {
  263.         DestroyDynamicObject(CVN[so]);
  264.         DestroyObject(CVN[so]);
  265.     }
  266.     for(new o = 0; o < sizeof(CVNMVO); o++)
  267.     {
  268.         DestroyObject(CVNMVO[o]);
  269.     }
  270.     for(new v; v < sizeof(CVNV); v++)
  271.     {
  272.         DestroyVehicle(CVNV[v]);
  273.     }
  274.     print("\n----------------------------------");
  275.     print(" CVN-Carrier by InternetInk unloaded!");
  276.     print("----------------------------------\n");
  277.     return 1;
  278. }
  279.  
  280. public OnPlayerCommandText(playerid, cmdtext[])
  281. {
  282.     if (!strcmp("/lift2", cmdtext) && IsPlayerAdmin(playerid))
  283.     {
  284.         if(CVNMVOS[0] == 0)
  285.         {
  286.             MoveObject(CVNMVO[0],-3197.752197, 1678.939453, 9.919664,2.0);
  287.             CVNMVOS[0] = 1;
  288.         }
  289.         else
  290.         {
  291.             MoveObject(CVNMVO[0],-3197.853516, 1678.964355, 16.954475,2.0);
  292.             CVNMVOS[0] = 0;
  293.         }
  294.         return 1;
  295.     }
  296.     if (!strcmp("/lift1", cmdtext) && IsPlayerAdmin(playerid))
  297.     {
  298.         if(CVNMVOS[1] == 0)
  299.         {
  300.             MoveObject(CVNMVO[1], -3155.637695, 1693.972534, 9.674082,2.0);
  301.             CVNMVOS[1] = 1;
  302.         }
  303.         else
  304.         {
  305.             MoveObject(CVNMVO[1],-3155.618408, 1693.998413, 16.676508,2.0);
  306.             CVNMVOS[1] = 0;
  307.         }
  308.         return 1;
  309.     }
  310.     if (!strcmp("/lift3", cmdtext) && IsPlayerAdmin(playerid))
  311.     {
  312.         if(CVNMVOS[2] == 0)
  313.         {
  314.             MoveObject(CVNMVO[2],  -3218.825195, 1679.231323, 9.744932,2.0);
  315.             CVNMVOS[2] = 1;
  316.         }
  317.         else
  318.         {
  319.             MoveObject(CVNMVO[2], -3218.786865, 1679.168335, 16.945608,2.0);
  320.             CVNMVOS[2] = 0;
  321.         }
  322.         return 1;
  323.     }
  324.     if (!strcmp("/lift5", cmdtext) && IsPlayerAdmin(playerid))
  325.     {
  326.         if(CVNMVOS[3] == 0)
  327.         {
  328.             MoveObject(CVNMVO[3],-3333.114,1645.366,0.999,1.0);
  329.             CVNMVOS[3] = 1;
  330.         }
  331.         else if(CVNMVOS[3] == 1)
  332.         {
  333.             MoveObject(CVNMVO[3],-3333.173,1645.540,7.096,2.0);
  334.             CVNMVOS[3] = 2;
  335.         }
  336.         else if(CVNMVOS[3] == 2)
  337.         {
  338.             MoveObject(CVNMVO[3],-3333.125,1645.380,16.671,2.0);
  339.             CVNMVOS[3] = 0;
  340.         }
  341.         return 1;
  342.     }
  343.     if (!strcmp("/lift4", cmdtext) && IsPlayerAdmin(playerid))
  344.     {
  345.         if(CVNMVOS[4] == 0)
  346.         {
  347.             MoveObject(CVNMVO[4],-3197.898,1649.260,9.948,2.0);
  348.             CVNMVOS[4] = 1;
  349.         }
  350.         else
  351.         {
  352.             MoveObject(CVNMVO[4],-3197.916,1649.275,16.571,1.0);
  353.             CVNMVOS[4] = 0;
  354.         }
  355.         return 1;
  356.     }
  357.     if (!strcmp("/water", cmdtext) && IsPlayerAdmin(playerid))
  358.     {
  359.         if(CVNMVOS[5] == 0)
  360.         {
  361.             MoveObject(CVNMVO[5],-3212.249023, 1682.859619, -0.290313,2.0);
  362.             CVNMVOS[5] = 1;
  363.         }
  364.         else
  365.         {
  366.             MoveObject(CVNMVO[5],-3212.266846, 1687.842285, -0.306238,2.0);
  367.             CVNMVOS[5] = 0;
  368.         }
  369.     }
  370.     if (!strcmp("/h1", cmdtext) && IsPlayerAdmin(playerid))
  371.     {
  372.         if(CVNMVOS[6] == 0)
  373.         {
  374.             MoveObject(CVNMVO[6],-3093.959,1656.212,16.660,1.0);
  375.             MoveObject(CVNMVO[7],-3075.519,1656.212,16.610,1.0);
  376.             CVNMVOS[6] = 1;
  377.             SetTimer("HeliUp",4000,0);
  378.         }
  379.         else
  380.         {
  381.             MoveObject(CVNMVO[8],-3093.965,1645.604,2.642,2.0);
  382.             MoveObject(CVNMVO[9],-3075.503,1645.608,2.651,2.0);
  383.             CVNMVOS[6] = 1;
  384.             SetTimer("HeliDown",4000,0);
  385.         }
  386.         return 1;
  387.     }
  388.     if (!strcmp("/h2", cmdtext) && IsPlayerAdmin(playerid))
  389.     {
  390.         if(CVNMVOS[7] == 0)
  391.         {
  392.             MoveObject(CVNMVO[11],-3391.222,1652.880,16.901,2.0);
  393.             CVNMVOS[7] = 1;
  394.             SetTimer("Heli2Up",10000,0);
  395.         }
  396.         else
  397.         {
  398.             MoveObject(CVNMVO[10],-3412.142,1653.161,9.256,2.0);
  399.             CVNMVOS[7] = 0;
  400.             SetTimer("Heli2Down",7000,0);
  401.         }
  402.         return 1;
  403.     }
  404.     if (!strcmp("/maphelp", cmdtext) && IsPlayerAdmin(playerid))
  405.     {
  406.         SendClientMessage(playerid,0x33AA33AA,"=============[ Help ]==============");
  407.         SendClientMessage(playerid,0xFFFFFFAA,"/lift1 /lift2 /lift3 /lift4 /lift5");
  408.         SendClientMessage(playerid,0xFFFFFFAA,"/h1 /h2 /water");
  409.         SendClientMessage(playerid,0x33AA33AA,"=============================");
  410.         return 1;
  411.     }
  412.     return 0;
  413. }
  414.  
  415. public HeliUp()
  416. {
  417.     MoveObject(CVNMVO[8],-3093.957,1645.612,16.564,2.0);
  418.     MoveObject(CVNMVO[9],-3075.481,1645.597,16.549,2.0);
  419. }
  420.  
  421. public HeliDown()
  422. {
  423.     MoveObject(CVNMVO[6],-3093.957,1645.612,16.564,2.0);
  424.     MoveObject(CVNMVO[7],-3075.481,1645.597,16.549,2.0);
  425. }
  426.  
  427. public Heli2Up()
  428. {
  429.     MoveObject(CVNMVO[10],-3411.995,1653.149,16.910,1.0);
  430. }
  431.  
  432. public Heli2Down()
  433. {
  434.     MoveObject(CVNMVO[11],-3411.995,1653.149,16.910,2.0);
  435. }
  436.  
  437. /* by InternetINk */
Add Comment
Please, Sign In to add comment