Advertisement
Guest User

ZH3r0

a guest
Apr 15th, 2008
387
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2. #include <Y_Objects>
  3.  
  4. #define FILTERSCRIPT
  5. #define ANNOUNCE 450000
  6.  
  7.  
  8. forward Announce();
  9.  
  10.  
  11. public Announce()
  12. {
  13. SendClientMessageToAll(0x00BFFFAA, "This Server use xfStuntpark by Zh3r0 |)> Check /xfsphelp for it's commands");
  14. return 1;
  15. }
  16.  
  17.  
  18.  
  19. public OnFilterScriptInit()
  20. {
  21. SetTimer("Announce",ANNOUNCE,1);
  22. SetWeather(2);
  23. Object_Object();
  24. Object_Object();
  25.  
  26. //===========================[Objects]==========================================
  27.  
  28. CreateDynamicObject(8499, 2764.464355, -1782.111572, 67.726807, 0.0000, 0.0000, 258.7500);
  29. CreateDynamicObject(8498, 2707.361084, -1749.724609, 68.252274, 0.0000, 0.0000, 245.7811);
  30. CreateDynamicObject(8498, 2760.356689, -1742.996582, 68.667595, 0.0000, 0.0000, 157.5000);
  31. CreateDynamicObject(8498, 2716.588867, -1796.702271, 67.426605, 0.0000, 0.0000, 337.5000);
  32. CreateDynamicObject(5002, 2715.522217, -1757.941528, 43.179245, 0.0000, 0.0000, 90.0000);
  33. CreateDynamicObject(1633, 2754.282715, -1749.991333, 44.479538, 0.0000, 0.0000, 318.4377);
  34. CreateDynamicObject(1633, 2756.333740, -1747.654907, 46.082016, 10.3132, 0.0000, 318.4377);
  35. CreateDynamicObject(1633, 2757.712891, -1746.136353, 47.542076, 17.1887, 0.0000, 318.4377);
  36. CreateDynamicObject(1633, 2759.029053, -1744.603149, 49.131271, 23.2048, 0.0000, 318.4377);
  37. CreateDynamicObject(1633, 2761.222168, -1742.157959, 52.221802, 29.2208, 0.0000, 318.4377);
  38. CreateDynamicObject(1633, 2762.600586, -1740.623779, 54.795753, 39.5341, 0.0000, 318.4377);
  39. CreateDynamicObject(1633, 2763.648193, -1739.415894, 57.282616, 44.6907, 0.0000, 318.4377);
  40. CreateDynamicObject(1633, 2764.464844, -1738.460938, 59.835602, 50.7067, 0.0000, 318.4377);
  41. CreateDynamicObject(1633, 2765.542725, -1737.202515, 64.215782, 55.8633, 0.0000, 318.4377);
  42. CreateDynamicObject(1633, 2765.973877, -1736.689941, 68.050926, 65.3171, 0.0000, 318.4377);
  43. CreateDynamicObject(1633, 2766.076172, -1736.546265, 72.701843, 73.0521, 0.0000, 318.4377);
  44. CreateDynamicObject(1633, 2765.915771, -1736.693604, 75.586205, 79.0681, 0.0000, 318.4377);
  45. CreateDynamicObject(1633, 2765.519287, -1737.158691, 79.998772, 84.2247, 0.0000, 318.4377);
  46. CreateDynamicObject(1633, 2765.149414, -1737.537231, 82.680901, 88.5219, 0.0000, 318.4377);
  47. CreateDynamicObject(1633, 2764.505615, -1738.238892, 85.529045, 96.2569, 0.0000, 318.4377);
  48. CreateDynamicObject(1633, 2714.124023, -1734.969482, 44.479538, 10.3132, 0.0000, 14.6877);
  49. CreateDynamicObject(1633, 2713.505371, -1731.889771, 46.381622, 18.9076, 7.7349, 8.6717);
  50. CreateDynamicObject(1633, 2713.555664, -1728.942383, 48.898552, 26.6425, 17.1887, 359.1406);
  51. CreateDynamicObject(1633, 2714.438721, -1727.026245, 51.131989, 33.5180, 23.2048, 347.0311);
  52. CreateDynamicObject(1633, 2716.062012, -1725.145020, 54.114319, 37.8152, 30.0803, 334.0623);
  53. CreateDynamicObject(1633, 2717.760010, -1723.894409, 57.731255, 48.9878, 37.8152, 323.6717);
  54. CreateDynamicObject(1633, 2719.768311, -1723.364868, 61.560196, 54.1445, 50.7067, 304.6868);
  55. CreateDynamicObject(1633, 2721.054688, -1723.438721, 64.165871, 56.7228, 55.0039, 295.1557);
  56. CreateDynamicObject(1633, 2722.113037, -1723.896973, 67.471611, 67.0360, 55.0039, 295.1557);
  57. CreateDynamicObject(1633, 2723.249512, -1724.511353, 71.695137, 73.0521, 55.0039, 295.1557);
  58. CreateDynamicObject(1633, 2723.954346, -1725.334717, 75.954704, 83.3653, 55.0039, 289.9991);
  59. CreateDynamicObject(3458, 2745.558350, -1756.860718, 84.858627, 0.0000, 0.0000, 225.0000);
  60. CreateDynamicObject(3458, 2749.152832, -1760.444214, 84.858627, 0.0000, 0.0000, 225.0000);
  61. CreateDynamicObject(1633, 2733.821045, -1772.526245, 87.687393, 3.4377, 0.0000, 134.1405);
  62. CreateDynamicObject(1633, 2732.528076, -1773.765747, 89.139114, 13.7510, 0.0000, 134.1405);
  63. CreateDynamicObject(1633, 2731.688721, -1774.557373, 90.119713, 19.7670, 0.0000, 134.1405);
  64. CreateDynamicObject(1633, 2729.813477, -1776.412231, 92.855049, 30.9397, 0.0000, 134.1405);
  65. CreateDynamicObject(1633, 2728.381836, -1777.763428, 95.296936, 37.8152, 0.0000, 134.1405);
  66. CreateDynamicObject(13667, 2724.953613, -1726.525757, 94.494759, 0.0000, 0.0000, 258.7500);
  67. CreateDynamicObject(7666, 2714.925781, -1794.079834, 110.855797, 0.0000, 0.0000, 75.2349);
  68. CreateDynamicObject(7666, 2709.905029, -1789.064941, 110.983299, 0.0000, 358.2811, 75.2349);
  69. CreateDynamicObject(4588, 2689.897461, -1774.720093, 43.508366, 0.0000, 0.0000, 269.1406);
  70. CreateDynamicObject(1655, 2746.649170, -1781.557007, 44.154339, 0.0000, 0.0000, 225.0000);
  71. CreateDynamicObject(1655, 2751.098633, -1786.127930, 47.692059, 12.8916, 0.0000, 225.0000);
  72. CreateDynamicObject(6066, 2755.385986, -1790.671997, 49.818108, 0.0000, 0.0000, 135.0000);
  73. CreateDynamicObject(3866, 2688.729004, -1823.579956, 53.987427, 0.0000, 0.8594, 329.6879);
  74. CreateDynamicObject(8131, 2764.512451, -1800.052246, 71.122643, 0.0000, 0.0000, 315.0000);
  75. CreateDynamicObject(8131, 2768.728027, -1804.279541, 71.103508, 0.0000, 0.0000, 315.0000);
  76. CreateDynamicObject(13648, 2740.846191, -1805.548340, 43.175217, 0.0000, 0.0000, 90.0001);
  77. CreateDynamicObject(13648, 2740.829346, -1806.129761, 43.175217, 0.0000, 0.0000, 90.0001);
  78. CreateDynamicObject(13648, 2740.822021, -1806.806030, 43.175217, 0.0000, 0.0000, 90.0001);
  79. CreateDynamicObject(13645, 2719.588623, -1806.084595, 44.122055, 9.4538, 0.0000, 265.7028);
  80. CreateDynamicObject(13638, 2773.624512, -1768.099731, 45.726707, 0.0000, 0.0000, 191.2499);
  81. CreateDynamicObject(13638, 2767.139160, -1769.511108, 53.626701, 0.0000, 0.0000, 11.2500);
  82. CreateDynamicObject(13638, 2773.255859, -1768.141113, 61.349403, 0.0000, 0.0000, 191.2500);
  83. CreateDynamicObject(13647, 2754.156006, -1779.808472, 66.884430, 0.0000, 0.0000, 191.2499);
  84. CreateDynamicObject(13647, 2753.883301, -1778.234497, 66.884430, 0.0000, 0.0000, 191.2499);
  85. CreateDynamicObject(13647, 2754.643555, -1778.893311, 65.234421, 0.0000, 0.0000, 11.2500);
  86. CreateDynamicObject(13645, 2735.653076, -1782.663208, 69.962517, 9.4538, 0.0000, 97.8123);
  87. CreateDynamicObject(3471, 2681.064941, -1824.185303, 48.182266, 0.0000, 0.0000, 333.2028);
  88. CreateDynamicObject(4239, 2725.483398, -1822.168701, 87.377846, 0.0000, 0.0000, 286.4840);
  89. CreateDynamicObject(4239, 2787.039795, -1759.936890, 91.130028, 0.0000, 0.0000, 179.1407);
  90. CreateDynamicObject(6056, 2684.908691, -1817.413940, 52.170425, 0.0000, 0.0000, 292.5000);
  91. CreateDynamicObject(6986, 2716.520264, -1796.672852, 123.963348, 0.0000, 0.0000, 28.4387);
  92. CreateDynamicObject(6986, 2706.684082, -1788.268066, 123.822693, 0.0000, 0.0000, 247.5000);
  93. CreateDynamicObject(8323, 2700.215576, -1811.669922, 73.209465, 0.0000, 0.0000, 237.9689);
  94. CreateDynamicObject(8644, 2694.455811, -1814.346802, 56.055618, 0.0000, 0.0000, 266.5623);
  95. CreateDynamicObject(8644, 2744.021240, -1720.204468, 82.880669, 0.0000, 0.0000, 116.0151);
  96. CreateDynamicObject(10236, 2704.519043, -1822.137817, 57.179977, 0.0000, 0.0000, 326.2500);
  97. CreateDynamicObject(10271, 2669.794922, -1772.780029, 70.694443, 0.0000, 0.0000, 266.4076);
  98. CreateDynamicObject(970, 2689.288574, -1825.782104, 47.458748, 0.0000, 0.0000, 11.2500);
  99. CreateDynamicObject(970, 2693.301758, -1824.887695, 47.458172, 0.0000, 0.0000, 11.2500);
  100. CreateDynamicObject(970, 2697.035889, -1823.284424, 47.457462, 0.0000, 0.0000, 33.7500);
  101. CreateDynamicObject(970, 2700.500732, -1821.001221, 47.448807, 0.0000, 0.0000, 33.7500);
  102. CreateDynamicObject(14637, 2684.263184, -1824.593384, 51.344894, 0.0000, 0.0000, 56.2500);
  103. CreateDynamicObject(16776, 2718.742920, -1783.973511, 117.808594, 52.4256, 2.5783, 130.6255);
  104. CreateDynamicObject(13562, 2701.847656, -1818.818481, 55.828548, 0.0000, 0.0000, 0.0000);
  105. CreateDynamicObject(11417, 2772.679932, -1775.370483, 68.014519, 0.0000, 0.0000, 236.2501);
  106. CreateDynamicObject(8483, 2694.295654, -1727.328125, 48.835526, 0.0000, 0.0000, 321.9529);
  107. CreateDynamicObject(7392, 2752.068359, -1730.083740, 56.874317, 262.8837, 0.0000, 78.7500);
  108. CreateDynamicObject(7388, 2689.474365, -1723.001099, 46.966568, 0.0000, 0.0000, 157.5000);
  109. CreateDynamicObject(3374, 2729.115723, -1734.687256, 44.673222, 0.0000, 0.0000, 90.0001);
  110. CreateDynamicObject(3374, 2725.187988, -1734.726440, 44.673222, 0.0000, 0.0000, 90.0001);
  111. CreateDynamicObject(3374, 2725.264893, -1730.778320, 44.673222, 0.0000, 0.0000, 90.0001);
  112. CreateDynamicObject(3374, 2725.323975, -1726.812134, 44.673222, 0.0000, 0.0000, 90.0001);
  113. CreateDynamicObject(3374, 2725.361572, -1722.898315, 44.673222, 0.0000, 0.0000, 90.0001);
  114. CreateDynamicObject(3374, 2729.237793, -1722.949951, 44.673222, 0.0000, 0.0000, 90.0001);
  115. CreateDynamicObject(3374, 2733.265381, -1722.931274, 44.673222, 0.0000, 0.0000, 90.0001);
  116. CreateDynamicObject(3374, 2737.284668, -1722.928467, 44.673222, 0.0000, 0.0000, 90.0001);
  117. CreateDynamicObject(3374, 2741.387695, -1734.810181, 44.673222, 0.0000, 0.0000, 90.0001);
  118. CreateDynamicObject(3374, 2741.258789, -1722.943848, 44.673222, 0.0000, 0.0000, 90.0001);
  119. CreateDynamicObject(3374, 2741.263672, -1726.881470, 44.673222, 0.0000, 0.0000, 90.0001);
  120. CreateDynamicObject(3374, 2741.379395, -1730.866577, 44.673222, 0.0000, 0.0000, 90.0001);
  121. CreateDynamicObject(3374, 2729.302246, -1734.699463, 47.673222, 0.0000, 0.0000, 90.0001);
  122. CreateDynamicObject(3374, 2725.259033, -1734.663330, 47.673222, 0.0000, 0.0000, 90.0001);
  123. CreateDynamicObject(3374, 2725.169434, -1730.656616, 47.673222, 0.0000, 0.0000, 90.0001);
  124. CreateDynamicObject(3374, 2725.316650, -1726.805298, 47.673222, 0.0000, 0.0000, 90.0001);
  125. CreateDynamicObject(3374, 2725.350586, -1722.957886, 47.673222, 0.0000, 0.0000, 90.0001);
  126. CreateDynamicObject(3374, 2737.341309, -1734.806885, 47.673222, 0.0000, 0.0000, 90.0001);
  127. CreateDynamicObject(3374, 2741.329102, -1734.807373, 47.673222, 0.0000, 0.0000, 90.0001);
  128. CreateDynamicObject(3374, 2729.207764, -1722.982910, 47.673222, 0.0000, 0.0000, 90.0001);
  129. CreateDynamicObject(3374, 2733.309814, -1723.047485, 47.673222, 0.0000, 0.0000, 90.0001);
  130. CreateDynamicObject(3374, 2737.230957, -1722.994629, 47.673222, 0.0000, 0.0000, 90.0001);
  131. CreateDynamicObject(3374, 2741.324951, -1723.034668, 47.673222, 0.0000, 0.0000, 90.0001);
  132. CreateDynamicObject(3374, 2741.359863, -1726.909180, 47.673222, 0.0000, 0.0000, 90.0001);
  133. CreateDynamicObject(3374, 2741.302734, -1730.874146, 47.673222, 0.0000, 0.0000, 90.0001);
  134. CreateDynamicObject(3374, 2728.197754, -1732.858521, 50.673222, 0.0000, 0.0000, 90.0001);
  135. CreateDynamicObject(3374, 2728.197266, -1729.203491, 50.673222, 0.0000, 0.0000, 90.0001);
  136. CreateDynamicObject(3374, 2728.167480, -1725.393066, 50.673222, 0.0000, 0.0000, 90.0001);
  137. CreateDynamicObject(3374, 2732.136963, -1732.814697, 50.548214, 0.0000, 0.0000, 90.0001);
  138. CreateDynamicObject(3374, 2736.122314, -1732.880493, 50.673222, 0.0000, 0.0000, 90.0001);
  139. CreateDynamicObject(3374, 2740.042236, -1732.964600, 50.673222, 0.0000, 0.0000, 90.0001);
  140. CreateDynamicObject(3374, 2732.100830, -1725.326904, 50.573215, 0.0000, 0.0000, 90.0001);
  141. CreateDynamicObject(3374, 2736.129883, -1725.209595, 50.373203, 0.0000, 0.0000, 90.0001);
  142. CreateDynamicObject(3374, 2740.232178, -1725.289307, 50.348202, 0.0000, 0.0000, 90.0001);
  143. CreateDynamicObject(3374, 2740.102051, -1729.240723, 50.673222, 0.0000, 0.0000, 90.0001);
  144. CreateDynamicObject(3374, 2736.245605, -1729.161255, 50.610992, 0.0000, 0.0000, 90.0001);
  145. CreateDynamicObject(3374, 2732.188965, -1729.060791, 50.509850, 0.0000, 0.0000, 90.0001);
  146. CreateDynamicObject(3374, 2731.768066, -1729.252808, 53.509850, 0.0000, 0.0000, 90.0001);
  147. CreateDynamicObject(3374, 2735.779785, -1729.232544, 53.610992, 0.0000, 0.0000, 90.0001);
  148. CreateDynamicObject(3374, 2733.986328, -1729.289673, 56.610992, 0.0000, 0.0000, 90.0001);
  149. CreateDynamicObject(3440, 2760.833252, -1762.707275, 61.667259, 0.0000, 0.0000, 0.0000);
  150. CreateDynamicObject(3440, 2776.264648, -1759.450562, 65.264961, 0.0000, 0.0000, 0.0000);
  151. CreateDynamicObject(3440, 2764.086670, -1778.159180, 57.542259, 0.0000, 0.0000, 0.0000);
  152. CreateDynamicObject(3440, 2779.273193, -1774.896973, 53.767265, 0.0000, 0.0000, 0.0000);
  153. CreateDynamicObject(3440, 2776.743164, -1759.507813, 49.642265, 0.0000, 0.0000, 0.0000);
  154. CreateDynamicObject(3440, 2779.460449, -1775.059326, 69.389961, 0.0000, 0.0000, 0.0000);
  155. CreateDynamicObject(3374, 2733.127441, -1734.843506, 44.673222, 0.0000, 0.0000, 90.0001);
  156. CreateDynamicObject(3374, 2733.272217, -1734.774414, 47.673222, 0.0000, 0.0000, 90.0001);
  157. CreateDynamicObject(3438, 2766.346680, -1776.431152, 72.195107, 0.0000, 0.0000, 8.5944);
  158. CreateDynamicObject(3438, 2761.941895, -1777.670044, 73.622810, 0.0000, 0.0000, 8.5944);
  159. CreateDynamicObject(3438, 2757.652588, -1778.252808, 74.169289, 0.0000, 0.0000, 8.5944);
  160. CreateDynamicObject(3438, 2752.265869, -1780.009399, 74.574242, 0.0000, 0.0000, 8.5944);
  161. CreateDynamicObject(3438, 2746.160156, -1780.996948, 73.451630, 0.0000, 0.0000, 8.5944);
  162. CreateDynamicObject(3438, 2740.933594, -1781.725220, 70.138466, 0.0000, 0.0000, 8.5944);
  163. CreateDynamicObject(3438, 2713.938721, -1789.112915, 113.704010, 0.0000, 0.0000, 54.5311);
  164. CreateDynamicObject(3437, 2686.875732, -1771.556152, 86.966042, 1.7189, 86.8031, 267.3444);
  165. CreateDynamicObject(3437, 2687.384521, -1760.619873, 86.351349, 1.7189, 86.8031, 267.3444);
  166. CreateDynamicObject(3437, 2687.491943, -1759.185059, 82.031158, 1.7189, 140.0883, 267.3444);
  167. CreateDynamicObject(3437, 2687.492920, -1766.006348, 73.745338, 1.7189, 140.0883, 267.3444);
  168. CreateDynamicObject(3437, 2687.489990, -1770.830566, 67.908676, 1.7189, 140.0883, 267.3444);
  169. CreateDynamicObject(3437, 2687.679199, -1768.351685, 63.972076, 1.7189, 86.8031, 267.3444);
  170. CreateDynamicObject(3437, 2688.133301, -1756.996460, 63.282478, 1.7189, 86.8031, 267.3444);
  171. CreateDynamicObject(1633, 2705.609375, -1791.555664, 44.204521, 0.0000, 0.0000, 149.6878);
  172. CreateDynamicObject(1633, 2704.454590, -1793.517578, 45.708893, 11.1727, 0.0000, 149.6878);
  173. CreateDynamicObject(1633, 2703.077393, -1795.902344, 47.685005, 23.2048, 0.0000, 149.6878);
  174. CreateDynamicObject(1633, 2702.022217, -1797.739502, 49.535957, 33.5180, 0.0000, 149.6878);
  175. CreateDynamicObject(1633, 2701.335205, -1799.114624, 51.196312, 51.5661, 0.0000, 149.6878);
  176. CreateDynamicObject(8483, 2776.605225, -1807.617920, 48.510567, 0.0000, 0.0000, 119.4529);
  177. CreateDynamicObject(16151, 2734.020996, -1726.697021, 43.570999, 0.0000, 0.0000, 90.0000);
  178. CreateDynamicObject(16152, 2732.229736, -1731.951538, 43.175060, 0.0000, 0.0000, 90.0000);
  179. CreateDynamicObject(1541, 2739.253906, -1726.951904, 44.195862, 0.0000, 0.0000, 270.0000);
  180. CreateDynamicObject(1547, 2734.583252, -1731.943726, 44.102432, 0.0000, 0.0000, 0.0000);
  181. CreateDynamicObject(1547, 2729.220459, -1728.610107, 51.953857, 0.0000, 0.0000, 0.0000);
  182. CreateDynamicObject(1547, 2732.210449, -1732.089478, 44.102432, 0.0000, 0.0000, 303.7500);
  183. CreateDynamicObject(1547, 2729.920654, -1731.939575, 44.102432, 0.0000, 0.0000, 236.2501);
  184. CreateDynamicObject(1547, 2727.539307, -1732.046997, 44.102432, 0.0000, 0.0000, 346.9449);
  185. CreateDynamicObject(2024, 2735.521484, -1726.177856, 43.177811, 0.0000, 0.0000, 0.0000);
  186. CreateDynamicObject(1661, 2732.232666, -1728.223511, 48.655273, 0.0000, 0.0000, 0.0000);
  187. CreateDynamicObject(1661, 2736.429688, -1729.071899, 48.767994, 0.0000, 0.0000, 315.0000);
  188. CreateDynamicObject(14806, 2738.911865, -1729.528442, 44.265266, 0.0000, 0.0000, 90.0000);
  189. CreateDynamicObject(621, 2712.607666, -1813.871094, 42.932652, 0.0000, 0.0000, 0.0000);
  190. CreateDynamicObject(621, 2776.811035, -1761.055908, 62.791882, 0.0000, 0.0000, 0.0000);
  191. CreateDynamicObject(621, 2733.824219, -1729.779541, 58.020432, 0.0000, 0.0000, 0.0000);
  192. CreateDynamicObject(621, 2687.981689, -1738.760376, 43.082661, 0.0000, 0.0000, 0.0000);
  193. CreateDynamicObject(621, 2714.082031, -1788.607910, 119.619034, 243.1166, 0.0000, 312.7310);
  194. CreateDynamicObject(620, 2769.427490, -1723.953735, 43.307285, 0.0000, 0.0000, 0.0000);
  195. CreateDynamicObject(620, 2691.253662, -1764.333984, 43.246403, 0.0000, 0.0000, 0.0000);
  196. CreateDynamicObject(620, 2690.521973, -1787.119385, 43.246403, 0.0000, 0.0000, 0.0000);
  197. CreateDynamicObject(620, 2763.936523, -1815.869629, 43.246403, 0.0000, 0.0000, 0.0000);
  198. CreateDynamicObject(816, 2768.683105, -1734.095703, 43.426323, 0.0000, 0.0000, 0.0000);
  199. CreateDynamicObject(828, 2769.516113, -1736.357056, 43.543587, 0.0000, 0.0000, 0.0000);
  200. CreateDynamicObject(807, 2771.114746, -1734.219971, 43.420181, 0.0000, 0.0000, 0.0000);
  201. CreateDynamicObject(867, 2767.808105, -1732.504761, 43.936302, 0.0000, 0.0000, 0.0000);
  202. CreateDynamicObject(879, 2775.281982, -1736.227905, 46.141853, 0.0000, 0.0000, 123.7499);
  203. CreateDynamicObject(867, 2768.526367, -1739.881104, 43.936302, 0.0000, 0.0000, 236.2501);
  204. CreateDynamicObject(816, 2766.320801, -1737.013794, 43.426323, 0.0000, 0.0000, 292.5000);
  205. CreateDynamicObject(631, 2728.278809, -1730.219971, 44.079403, 0.0000, 0.0000, 0.0000);
  206. CreateDynamicObject(631, 2728.268555, -1729.232544, 44.079403, 0.0000, 0.0000, 0.0000);
  207. CreateDynamicObject(14640, 2729.875244, -1728.362549, 43.983719, 0.0000, 0.0000, 180.3775);
  208. CreateDynamicObject(3528, 2728.852783, -1731.525635, 47.834854, 0.0000, 0.0000, 22.5000);
  209. CreateDynamicObject(3525, 2739.193359, -1727.497192, 47.021172, 0.0000, 0.0000, 136.4780);
  210. CreateDynamicObject(3525, 2729.019775, -1725.095215, 46.419235, 0.0000, 0.0000, 270.0000);
  211. CreateDynamicObject(3525, 2733.401123, -1732.644409, 47.116001, 0.0000, 0.0000, 180.0000);
  212. CreateDynamicObject(3279, 2698.839844, -1765.104614, 43.254860, 0.0000, 0.0000, 270.0000);
  213. CreateDynamicObject(3279, 2702.329590, -1761.936035, 58.989861, 0.0000, 0.0000, 270.0000);
  214. CreateDynamicObject(3279, 2705.684570, -1759.115479, 74.699890, 0.0000, 0.0000, 270.0000);
  215. CreateDynamicObject(3279, 2709.328613, -1756.058838, 90.520142, 0.0000, 0.0000, 266.5623);
  216. CreateDynamicObject(16644, 2716.969727, -1755.921387, 109.700142, 0.0000, 334.2169, 356.5623);
  217. CreateDynamicObject(2890, 2767.484863, -1746.255737, 43.267342, 0.0000, 0.0000, 337.5000);
  218. //===========================[Vehicles]=========================================
  219. AddStaticVehicle(522,2691.984,-1818.540,47.558,304.0,-1,-1);
  220. AddStaticVehicle(522,2723.590,-1739.971,43.840,179.0,-1,-1);
  221. AddStaticVehicle(522,2724.287,-1740.079,43.840,179.0,-1,-1);
  222. AddStaticVehicle(522,2725.139,-1740.053,43.840,179.0,-1,-1);
  223. AddStaticVehicle(522,2725.954,-1740.148,43.840,179.0,-1,-1);
  224. AddStaticVehicle(522,2726.681,-1740.250,43.840,179.0,-1,-1);
  225. AddStaticVehicle(522,2727.564,-1740.198,43.840,179.0,-1,-1);
  226. AddStaticVehicle(522,2728.344,-1740.270,43.840,179.0,-1,-1);
  227. AddStaticVehicle(522,2729.313,-1740.215,43.840,179.0,-1,-1);
  228. AddStaticVehicle(522,2745.326,-1718.545,80.340,179.0,-1,-1);
  229. return 1;
  230. }
  231.  
  232. //===================[Teleport command]=========================================
  233. public OnPlayerCommandText(playerid, cmdtext[])
  234. {
  235. if (!strcmp("/xfsp", cmdtext, true) || !strcmp("/xfstuntp", cmdtext, true) || !strcmp("/xsp",cmdtext, true ))
  236. {
  237. new name[MAX_PLAYER_NAME+1];
  238. new string[256];
  239.  
  240. if (IsPlayerInAnyVehicle(playerid))
  241. {
  242. SetVehiclePos(GetPlayerVehicleID(playerid), 2734.390380, -1730.029907, 44.179000);
  243. SetVehicleZAngle(GetPlayerVehicleID(playerid), 81.020889);
  244. LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
  245. }
  246. if (!IsPlayerInAnyVehicle(playerid))
  247. {
  248. SetPlayerPos(playerid, 2734.390380, -1730.029907, 44.179000);
  249. SetPlayerFacingAngle(playerid, 81.020889);
  250. }
  251. GetPlayerName(playerid, name, sizeof(name));
  252. format(string, sizeof(string), "(xFun-Stunt Park) Join (%s),Too , With /sfsp , /xsp , /xstuntp", name);
  253. GameTextForPlayer(playerid, "~g~Welcome to ~r~xFun-Stunt Park~n~~g~By Zh3r0",1500,3);
  254. SendClientMessageToAll(0x00BFFFAA, string);
  255. return 1;
  256. }
  257. //==============================================================================
  258. if (strcmp(cmdtext, "/xfsphelp", true) == 0)
  259. {
  260. SendClientMessage(playerid, 0xFFFFFFAA, "<<<<<=====xFun-Stunt Park=====>>>>>");
  261. SendClientMessage(playerid, 0x00BFFFAA, "''/flip , /flipc , /flipv''==To flip your vehicle.");
  262. SendClientMessage(playerid, 0x00BFFFAA, "''/healme , /heal , /health''==To set your health to 100.");
  263. SendClientMessage(playerid, 0x00BFFFAA, "''/clearchat''==To clear the chatbox.");
  264. SendClientMessage(playerid, 0x00BFFFAA, "''/xsfp , /xsp , /xstuntp''==To teleport to the xFun-Stunt Park.");
  265. SendClientMessage(playerid, 0x00BFFFAA, "''/kill''==To set your health to 0=Death.");
  266. SendClientMessage(playerid, 0x00BFFFAA, "''/nrg''==To spawn an NRG-500.");
  267. SendClientMessage(playerid, 0x00BFFFAA, "''/sanchez''==To spawn an Sanchez.");
  268. SendClientMessage(playerid, 0x00BFFFAA, "''/freeway''==To spawn an FreeWay.");
  269. SendClientMessage(playerid, 0x00BFFFAA, "--------That's all ,By Zh3r0-------Enjoy the xFun-Stunt Park-----");
  270. GameTextForPlayer(playerid, "~r~xfsp~w~-~r~Help See in ~y~Chatbox!",1900,1);
  271. return 1;
  272. }
  273. //==============================================================================
  274. if (strcmp(cmdtext, "/clearchat", true) == 0)
  275. {
  276. SendClientMessage(playerid, 0x00BFFFAA, " ");
  277. SendClientMessage(playerid, 0x00BFFFAA, " ");
  278. SendClientMessage(playerid, 0x00BFFFAA, " ");
  279. SendClientMessage(playerid, 0x00BFFFAA, " ");
  280. SendClientMessage(playerid, 0x00BFFFAA, " ");
  281. SendClientMessage(playerid, 0x00BFFFAA, " ");
  282. SendClientMessage(playerid, 0x00BFFFAA, " ");
  283. SendClientMessage(playerid, 0x00BFFFAA, " ");
  284. SendClientMessage(playerid, 0x00BFFFAA, " ");
  285. SendClientMessage(playerid, 0x00BFFFAA, " ");
  286. SendClientMessage(playerid, 0x00BFFFAA, " ");
  287. GameTextForPlayer(playerid, "~r~Chat Cleared!",1200,3);
  288. return 1;
  289. }
  290. //==============================================================================
  291. if (strcmp(cmdtext, "/kill", true)==0)
  292. {
  293. SetPlayerHealth(playerid, 0.00);
  294. return 1;
  295. }
  296. //==============================================================================
  297. if (!strcmp("/healme", cmdtext, true) || !strcmp("/heal", cmdtext, true) || !strcmp("/health",cmdtext, true ))
  298. {
  299. SetPlayerHealth(playerid, 100);
  300. GameTextForPlayer(playerid, "~b~Healed!",1900,1);
  301. return 1;
  302. }
  303. //==============================================================================
  304. if (!strcmp("/flipv", cmdtext, true) || !strcmp("/flipc", cmdtext, true) ||!strcmp("/flip",cmdtext, true))
  305. {
  306. new VehicleID, Float:X, Float:Y, Float:Z;
  307. GetPlayerPos(playerid, X, Y, Z);
  308. VehicleID = GetPlayerVehicleID(playerid);
  309. SetVehiclePos(VehicleID, X, Y, Z);
  310. SetVehicleZAngle(VehicleID, 0);
  311. GameTextForPlayer(playerid, "~b~Car Fliped!",1900,1);
  312. return 1;
  313. }
  314. //==============================================================================
  315. if (!strcmp("/fix", cmdtext, true) || !strcmp("/rep", cmdtext, true))
  316. {
  317. SetVehicleHealth(GetPlayerVehicleID(playerid), 10000);
  318. GameTextForPlayer(playerid, "~b~vehicle Fixed!",1900,1);
  319. return 1;
  320. }
  321. //==============================================================================
  322. if(strcmp(cmdtext,"/nrg",true) == 0)
  323. {
  324. new Float:X;
  325. new Float:Y;
  326. new Float:Z;
  327. GetPlayerPos(playerid,X,Y,Z);
  328. CreateVehicle(522,X,Y+1,Z+1,5,3,0,90000);
  329. SendClientMessage(playerid, 0x00BFFFAA, "** A free ''NRG-500'' for you!");
  330. return 1;
  331. }
  332. //==============================================================================
  333. if(strcmp(cmdtext,"/freeway",true) == 0)
  334. {
  335. new Float:X;
  336. new Float:Y;
  337. new Float:Z;
  338. GetPlayerPos(playerid,X,Y,Z);
  339. CreateVehicle(463,X,Y+1,Z+1,5,3,0,90000);
  340. SendClientMessage(playerid, 0x00BFFFAA, "** A free ''FreeWay'' for you!");
  341. return 1;
  342. }
  343. //==============================================================================
  344. if(strcmp(cmdtext,"/sanchez",true) == 0)
  345. {
  346.  
  347. new Float:X;
  348. new Float:Y;
  349. new Float:Z;
  350. GetPlayerPos(playerid,X,Y,Z);
  351. CreateVehicle(468,X,Y+1,Z+1,5,3,0,90000);
  352. SendClientMessage(playerid, 0x00BFFFAA, "** A free ''Sanchez'' for you!");
  353. return 1;
  354. }
  355. return 0;
  356. }
  357. //==============================================================================
  358. public OnPlayerDisconnect(playerid,reason)
  359. {
  360. Object_OnPlayerDisconnect(playerid,reason);
  361. return 1;
  362. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement