Advertisement
Guest User

SAPSidhu

a guest
Mar 21st, 2009
1,156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.41 KB | None | 0 0
  1. /*
  2. Credits goes to:
  3. [SAP]Sidhu, for his awesome idea and programming!,
  4. [SAP]Sidhu Made this!
  5. DO NOT REMOVE THE STUFF ABOVE, ANY ATTEMP TO DO SO WILL RESULT IN YOU PAYING THE CONSEQUENCES IF CAUGHT
  6. */
  7. //===============================Include Files==================================
  8.  
  9. #include <a_samp>
  10.  
  11. #define FILTERSCRIPT
  12. #define COLOR_WHITE 0xFFFFFFAA
  13. #define COLOR_YELLOW 0xFFFF00AA
  14.  
  15. #if defined FILTERSCRIPT
  16.  
  17. #define COLOR_GREEN 0x33AA33AA
  18. #define COLOR_RED 0xAA3333AA
  19.  
  20. new gate;
  21. new car1;
  22. new car2;
  23. new car3;
  24. new car4;
  25. new car5;
  26. new car6;
  27. new car7;
  28. new car8;
  29. new car9;
  30. new car10;
  31. new car11;
  32. new car12;
  33. new interior1;
  34. new interiorexit1;
  35.  
  36. main()
  37. {
  38. }
  39.  
  40. public OnFilterScriptInit()
  41. {
  42. print("\n--------------------------------------");
  43. print(" [SAP]Sidhu's LV Admin House! ");
  44. print("--------------------------------------\n");
  45. CreateObject(3607, 2792.520020, 3911.953857, 7.985996, 0.0000, 0.0000, 360.0000);
  46. CreateObject(8661, 2773.569580, 3912.335449, 1.913342, 0.0000, 0.0000, 0.0000);
  47. CreateObject(8661, 2813.486572, 3912.333984, 1.905384, 0.0000, 0.0000, 0.0000);
  48. CreateObject(8661, 2813.570557, 3892.355469, 1.907252, 0.0000, 0.0000, 0.0000);
  49. CreateObject(8661, 2773.600586, 3892.349365, 1.910003, 0.0000, 0.0000, 0.0000);
  50. CreateObject(8661, 2813.530762, 3932.279297, 1.897868, 0.0000, 0.0000, 0.0000);
  51. CreateObject(8661, 2773.545166, 3932.293945, 1.912712, 0.0000, 0.0000, 0.0000);
  52. CreateObject(4874, 2825.785400, 3946.435059, 5.476010, 0.0000, 0.0000, 270.0000);
  53. CreateObject(14562, 2791.805420, 3897.218994, 3.170907, 0.0000, 0.0000, 270.0000);
  54. CreateObject(2910, 2793.507324, 3796.995361, 1.957171, 0.0000, 0.0000, 0.0000);
  55. CreateObject(1676, 2839.363281, 3963.698242, 6.374773, 0.0000, 0.0000, 90.0000);
  56. CreateObject(3525, 2793.069336, 3898.576172, 4.072244, 0.0000, 0.0000, 0.0001);
  57. CreateObject(3525, 2789.934570, 3898.596436, 4.076378, 0.0000, 0.0000, 180.0000);
  58. CreateObject(4597, 2754.693359, 3900.781494, 2.344116, 0.0000, 0.0000, 270.0000);
  59. CreateObject(4597, 2833.096924, 3900.914063, 2.279269, 0.0000, 0.0000, 270.0000);
  60. CreateObject(8661, 2761.495117, 3872.384277, 1.905870, 0.0000, 0.0000, 0.0000);
  61. CreateObject(8947, 2755.063477, 3872.443115, 4.890493, 0.0000, 0.0000, 90.0000);
  62. CreateObject(14826, 2761.720215, 3876.568604, 2.545248, 0.0000, 0.0000, 180.0000);
  63. CreateObject(16685, 2699.923096, 3828.803467, 2.087992, 0.0000, 0.0000, 270.0000);
  64. CreateObject(16685, 2702.185059, 4052.378174, 2.120009, 0.0000, 0.0000, 89.9999);
  65. CreateObject(8251, 2785.772949, 4070.072021, 5.901348, 0.0000, 0.0000, 180.0000);
  66. CreateObject(8661, 2780.379395, 4092.950928, 2.052498, 0.8594, 0.0000, 0.0000);
  67. CreateObject(8661, 2780.381836, 4073.027832, 1.900614, 0.0000, 0.0000, 0.0000);
  68. CreateObject(8661, 2780.410645, 4053.096924, 1.898532, 0.0000, 0.0000, 0.0000);
  69. CreateObject(8661, 2780.433594, 4033.217529, 1.871650, 0.0000, 0.0000, 0.0000);
  70. CreateObject(8251, 2785.797852, 4041.605469, 5.801347, 0.0000, 0.0000, 180.0000);
  71. CreateObject(1682, 2700.046631, 4142.676270, 18.549143, 0.0000, 0.0000, 180.0000);
  72. CreateObject(7981, 2700.105225, 4149.479004, 7.094915, 0.0000, 0.0000, 270.0000);
  73. CreateObject(10764, 2701.218018, 4133.086426, -1.094053, 0.0000, 0.0000, 45.0000);
  74. CreateObject(8661, 2770.447266, 4003.418213, 1.868759, 0.0000, 0.0000, 270.0000);
  75. CreateObject(8661, 2770.433838, 3965.726318, 1.871442, 0.0000, 0.0000, 270.0000);
  76. CreateObject(8661, 2770.436523, 3952.288574, 1.894560, 0.0000, 0.0000, 270.0000);
  77. CreateObject(8661, 2740.954590, 4092.947754, 2.246961, 0.8594, 0.0000, 0.0000);
  78. CreateObject(2886, 2792.906494, 3918.948730, 3.983771, 0.0000, 0.0000, 270.2409);
  79. CreateObject(2914, 2806.821777, 3900.933350, 13.898164, 0.0000, 0.0000, 0.0000);
  80. CreateObject(2914, 2776.180176, 3901.016846, 14.019958, 0.0000, 0.0000, 180.0000);
  81. CreateObject(2964, 2798.659424, 3929.802246, 1.866646, 0.0000, 0.0000, 0.0000);
  82. CreateObject(2965, 2798.634521, 3929.939453, 2.780904, 0.0000, 0.0000, 0.0000);
  83. CreateObject(2995, 2798.838379, 3929.766113, 2.796597, 0.0000, 0.0000, 0.0000);
  84. CreateObject(2996, 2798.504883, 3929.940430, 2.796597, 0.0000, 0.0000, 0.0000);
  85. CreateObject(2997, 2798.837891, 3930.130615, 2.796597, 0.0000, 0.0000, 0.0000);
  86. CreateObject(2998, 2798.823730, 3929.931885, 2.796597, 0.0000, 0.0000, 0.0000);
  87. CreateObject(2999, 2798.689209, 3929.843994, 2.796597, 0.0000, 0.0000, 0.0000);
  88. CreateObject(3000, 2798.682617, 3930.044922, 2.796597, 0.0000, 0.0000, 0.0000);
  89. CreateObject(3001, 2798.623779, 3929.933838, 2.796597, 0.0000, 0.0000, 0.0000);
  90. CreateObject(3002, 2798.780273, 3930.029541, 2.796597, 0.0000, 0.0000, 0.0000);
  91. CreateObject(3003, 2797.979248, 3929.813965, 2.796993, 0.0000, 0.0000, 0.0000);
  92. CreateObject(3004, 2797.812256, 3929.471436, 2.765589, 356.5623, 0.8594, 270.0000);
  93. CreateObject(3004, 2797.948486, 3930.302490, 2.757644, 356.5623, 0.8594, 270.0000);
  94. CreateObject(3100, 2798.718750, 3929.931885, 2.796597, 0.0000, 0.0000, 0.0000);
  95. CreateObject(3101, 2798.764404, 3929.809814, 2.796597, 0.0000, 0.0000, 0.0000);
  96. CreateObject(3102, 2798.830566, 3929.851318, 2.796597, 0.0000, 0.0000, 0.0000);
  97. CreateObject(3103, 2798.766846, 3929.885254, 2.796597, 0.0000, 0.0000, 0.0000);
  98. CreateObject(3104, 2798.574219, 3929.971436, 2.796597, 0.0000, 0.0000, 0.0000);
  99. CreateObject(3105, 2798.771484, 3930.098633, 2.796597, 0.0000, 0.0000, 0.0000);
  100. CreateObject(3106, 2798.833496, 3930.066406, 2.796597, 0.0000, 0.0000, 0.0000);
  101. CreateObject(2910, 2793.507324, 3626.058838, 1.953725, 0.0000, 0.0000, 0.0000);
  102. CreateObject(2910, 2793.502197, 3455.076172, 1.953514, 0.0000, 0.0000, 0.0000);
  103. CreateObject(2910, 2793.501709, 3284.407227, 1.966792, 0.0000, 0.0000, 0.0000);
  104. CreateObject(2910, 2793.503906, 3113.505859, 1.989676, 0.0000, 0.0000, 0.0000);
  105. CreateObject(10764, 2701.241211, 3744.247070, -1.044054, 0.0000, 0.0000, 225.0000);
  106. CreateObject(3666, 2721.230469, 4102.678711, 2.906618, 0.0000, 0.0000, 0.0000);
  107. CreateObject(3666, 2725.701660, 4102.663086, 2.898499, 0.0000, 0.0000, 0.0000);
  108. CreateObject(3666, 2729.825684, 4102.669434, 2.883980, 0.0000, 0.0000, 0.0000);
  109. CreateObject(3666, 2734.608887, 4102.666992, 2.886560, 0.0000, 0.0000, 0.0000);
  110. CreateObject(3666, 2740.108643, 4102.665039, 2.889162, 0.0000, 0.0000, 0.0000);
  111. CreateObject(3666, 2745.300049, 4102.682617, 2.887915, 0.0000, 0.0000, 0.0000);
  112. CreateObject(3666, 2749.793945, 4102.659668, 2.900212, 0.0000, 0.0000, 0.0000);
  113. CreateObject(3666, 2754.073730, 4102.651855, 2.865367, 0.0000, 0.0000, 0.0000);
  114. CreateObject(3666, 2758.782471, 4102.665039, 2.906790, 0.0000, 0.0000, 0.0000);
  115. CreateObject(3666, 2725.702881, 4083.260254, 2.524618, 0.0000, 0.0000, 0.0000);
  116. CreateObject(3666, 2721.225342, 4083.349121, 2.547803, 0.0000, 0.0000, 0.0000);
  117. CreateObject(3666, 2729.830566, 4083.291992, 2.520457, 0.0000, 0.0000, 0.0000);
  118. CreateObject(3666, 2734.608643, 4083.254883, 2.522168, 0.0000, 0.0000, 0.0000);
  119. CreateObject(3666, 2740.110596, 4083.372559, 2.532513, 0.0000, 0.0000, 0.0000);
  120. CreateObject(3666, 2745.316406, 4083.442383, 2.577554, 0.0000, 0.0000, 0.0000);
  121. CreateObject(3666, 2758.777832, 4083.330078, 2.559536, 0.0000, 0.0000, 0.0000);
  122. CreateObject(3666, 2754.054443, 4083.310547, 2.589326, 0.0000, 0.0000, 0.0000);
  123. CreateObject(3666, 2749.802002, 4083.262695, 2.632753, 0.0000, 0.0000, 0.0000);
  124. CreateObject(3877, 2700.995117, 4082.260010, 0.512312, 0.0000, 0.0000, 0.0000);
  125. CreateObject(2921, 2803.851074, 3900.254639, 10.782647, 0.0000, 0.0000, 90.0000);
  126. CreateObject(2921, 2778.794434, 3900.356934, 10.762901, 0.8594, 0.0000, 147.9689);
  127. CreateObject(3092, 2761.647705, 3878.404541, 2.020174, 96.2569, 0.8594, 257.1085);
  128. CreateObject(3633, 2757.965576, 3867.002686, 2.380672, 0.0000, 0.0000, 292.5000);
  129. CreateObject(16113, 2728.364258, 3744.582275, -0.779466, 0.0000, 0.0000, 311.4849);
  130. CreateObject(16113, 2732.950684, 3792.961914, -1.681500, 0.0000, 0.0000, 311.4849);
  131. CreateObject(16113, 2733.257568, 3844.439453, 0.569709, 0.0000, 0.0000, 311.4849);
  132. CreateObject(16113, 2728.294189, 3888.691650, -7.779467, 0.0000, 0.0000, 311.4849);
  133. CreateObject(16113, 2732.108154, 3938.527832, -2.703712, 0.0000, 0.0000, 311.4849);
  134. CreateObject(16113, 2732.318604, 3986.377686, -0.247847, 0.0000, 0.0000, 311.4849);
  135. CreateObject(16113, 2732.892090, 4037.108887, -0.720208, 0.0000, 0.0000, 311.4849);
  136. CreateObject(16113, 2731.554199, 4137.302246, -1.644146, 0.0000, 0.0000, 311.4849);
  137. CreateObject(16113, 2697.148926, 4162.705566, -0.455562, 0.0000, 0.0000, 41.4849);
  138. CreateObject(16113, 2672.051270, 4126.644043, 0.502551, 0.0000, 0.0000, 131.4850);
  139. CreateObject(16113, 2669.666260, 4072.181885, -3.809014, 0.0000, 0.0000, 131.4850);
  140. CreateObject(16113, 2670.100342, 4018.680664, 0.702791, 0.0000, 0.0000, 131.4850);
  141. CreateObject(16113, 2667.861816, 3963.449951, -0.424467, 0.0000, 0.0000, 131.4850);
  142. CreateObject(16113, 2669.172852, 3914.516357, 1.177745, 0.0000, 0.0000, 131.4850);
  143. CreateObject(16113, 2669.225586, 3859.617920, -2.798868, 0.0000, 0.0000, 131.4850);
  144. CreateObject(16113, 2669.461426, 3805.947266, 0.590057, 0.0000, 0.0000, 131.4850);
  145. CreateObject(16113, 2669.257080, 3748.766602, -1.935205, 0.0000, 0.0000, 131.4850);
  146. CreateObject(16113, 2702.445313, 3717.317139, 0.587141, 0.0000, 0.0000, 206.0150);
  147. CreateObject(16113, 2731.016602, 4062.477539, -1.004814, 0.0000, 0.0000, 307.2650);
  148. CreateObject(2254, 2791.558838, 3919.695801, 8.028933, 0.0000, 0.0000, 180.0000);
  149. CreateObject(3802, 2802.376953, 3898.579346, 5.294429, 0.0000, 0.0000, 271.7962);
  150. CreateObject(3802, 2795.734375, 3898.477783, 5.335482, 0.0000, 0.0000, 270.0774);
  151. CreateObject(3802, 2787.290527, 3898.490234, 5.364795, 0.0000, 0.0000, 266.6396);
  152. CreateObject(3802, 2780.589355, 3898.616699, 5.304870, 0.0000, 0.0000, 267.4991);
  153. CreateObject(640, 2777.631836, 3926.369629, 2.584746, 0.0000, 0.0000, 270.0000);
  154. CreateObject(640, 2804.768555, 3926.328857, 2.559746, 0.0000, 0.0000, 270.0000);
  155. CreateObject(3472, 2810.974121, 3925.693604, 2.202413, 0.0000, 0.0000, 0.0000);
  156. CreateObject(3472, 2772.258789, 3925.730957, 2.281870, 0.0000, 0.0000, 292.5000);
  157. CreateObject(16151, 2820.382324, 3941.219971, 2.289621, 0.0000, 0.0000, 90.0000);
  158. CreateObject(1481, 2810.187500, 3940.082275, 2.600994, 0.0000, 0.0000, 0.0000);
  159. CreateObject(2905, 2810.239990, 3940.071289, 2.758607, 0.0000, 0.0000, 93.9702);
  160. CreateObject(2908, 2809.923340, 3939.882080, 2.743835, 0.0000, 0.0000, 112.5000);
  161. CreateObject(2906, 2810.353760, 3939.854248, 2.790689, 0.0000, 0.0000, 83.7519);
  162. CreateObject(2958, 2820.348389, 3940.275879, 2.995252, 0.0000, 347.1084, 284.3696);
  163. CreateObject(3044, 2819.095703, 3939.899170, 2.948444, 0.0000, 2.5783, 213.8957);
  164. CreateObject(3095, 2756.377930, 4087.512695, 1.544178, 0.0000, 0.0000, 0.0000);
  165. CreateObject(3095, 2756.376709, 4096.498535, 1.618641, 0.0000, 0.0000, 0.0000);
  166. CreateObject(3095, 2756.389160, 4098.442871, 1.624999, 0.0000, 0.0000, 0.0000);
  167. CreateObject(3877, 2700.982666, 4070.982910, 0.512311, 0.0000, 0.0000, 0.0000);
  168. CreateObject(3877, 2700.985352, 4058.737061, 0.520122, 0.0000, 0.0000, 0.0000);
  169. CreateObject(3877, 2700.987061, 4044.734375, 0.520121, 0.0000, 0.0000, 0.0000);
  170. CreateObject(3877, 2701.001709, 4029.737305, 0.537313, 0.0000, 0.0000, 0.0000);
  171. CreateObject(3877, 2701.022949, 4014.411621, 0.537312, 0.0000, 0.0000, 0.0000);
  172. CreateObject(3877, 2701.046875, 3996.636719, 0.512312, 0.0000, 0.0000, 0.0000);
  173. CreateObject(3877, 2701.049072, 3978.120605, 0.487312, 0.0000, 0.0000, 0.0000);
  174. CreateObject(3877, 2701.056641, 3959.354004, 0.487315, 0.0000, 0.0000, 0.0000);
  175. CreateObject(3877, 2700.886963, 3940.162598, 0.537313, 0.0000, 0.0000, 0.0000);
  176. CreateObject(3877, 2700.852295, 3919.777588, 0.537312, 0.0000, 0.0000, 0.0000);
  177. CreateObject(3877, 2700.818359, 3900.813232, 0.537312, 0.0000, 0.0000, 0.0000);
  178. CreateObject(3877, 2700.845947, 3878.076660, 0.512313, 0.0000, 0.0000, 0.0000);
  179. CreateObject(3877, 2700.833252, 3855.289063, 0.505296, 0.0000, 0.0000, 0.0000);
  180. CreateObject(3877, 2700.814697, 3829.966553, 0.505296, 0.0000, 0.0000, 0.0000);
  181. CreateObject(3877, 2700.854980, 3807.568359, 0.488104, 0.0000, 0.0000, 0.0000);
  182. CreateObject(3877, 2701.054199, 3794.759033, 0.480295, 0.0000, 0.0000, 0.0000);
  183. CreateObject(1723, 2806.789795, 3924.917725, 2.652487, 0.0000, 0.0000, 0.0000);
  184. CreateObject(1723, 2809.722412, 3924.018799, 2.638737, 0.0000, 0.0000, 270.0000);
  185. CreateObject(1723, 2773.412842, 3922.208008, 2.627486, 0.0000, 0.0000, 90.0000);
  186. CreateObject(1723, 2774.341064, 3925.039063, 2.627486, 0.0000, 0.0000, 0.0000);
  187. CreateObject(633, 2809.809326, 3925.005615, 3.698348, 0.0000, 0.0000, 0.0000);
  188. CreateObject(633, 2773.446777, 3925.097900, 3.698348, 0.0000, 0.0000, 0.0000);
  189. CreateObject(17596, 2793.402588, 2970.330811, 22.747107, 340.2330, 0.0000, 0.0000);
  190. CreateObject(17596, 2793.426025, 2851.049805, 43.498291, 0.0000, 0.0000, 0.0000);
  191. CreateObject(17596, 2793.418457, 2730.294434, 27.075914, 15.4699, 0.0000, 0.0000);
  192. CreateObject(3330, 2793.361572, 2822.639893, 33.208885, 0.0000, 0.0000, 0.0000);
  193. CreateObject(3330, 2793.306885, 2879.805420, 33.206276, 0.0000, 0.0000, 0.0000);
  194. CreateObject(3330, 2793.322998, 2760.071533, 24.658949, 16.3293, 0.0000, 0.0000);
  195. CreateObject(3330, 2793.402832, 2723.129395, 14.233932, 16.3293, 0.0000, 0.0000);
  196. CreateObject(3330, 2793.299805, 2950.873291, 18.538673, 341.0924, 0.0000, 0.0000);
  197. CreateObject(3330, 2793.370117, 3003.707764, -0.319412, 341.0924, 0.0000, 0.0000);
  198. CreateObject(3330, 2793.412109, 3048.299561, -8.332638, 0.0000, 0.0000, 0.0000);
  199. CreateObject(3330, 2793.387207, 3162.595459, -8.307638, 0.0000, 0.0000, 0.0000);
  200. CreateObject(3330, 2793.437256, 3256.339111, -8.330534, 0.0000, 0.0000, 0.0000);
  201. CreateObject(3330, 2793.471436, 3371.815918, -8.293799, 0.0000, 0.0000, 0.0000);
  202. CreateObject(3330, 2793.304932, 3517.268799, -8.318827, 0.0000, 0.0000, 0.0000);
  203. CreateObject(3330, 2793.050049, 3648.946777, -8.318578, 0.0000, 0.0000, 0.0000);
  204. CreateObject(3330, 2793.354248, 3775.818359, -8.290150, 0.0000, 0.0000, 0.0000);
  205. CreateObject(3521, 2786.049316, 3877.403076, 3.562978, 0.0000, 0.0000, 0.0000);
  206. CreateObject(1686, 2754.893799, 3867.123291, 1.919173, 0.0000, 0.0000, 90.0000);
  207. CreateObject(3749, 2793.466309, 3880.389893, 7.739269, 0.0000, 0.0000, 0.0000);
  208. gate = CreateObject(980, 2793.449951, 3880.148438, 4.679246, 0.0000, 0.0000, 180.0000); // Gate Closed
  209. CreateObject(987, 2781.309570, 3862.517334, 1.880870, 0.0000, 0.0000, 90.0000);
  210. CreateObject(987, 2781.301025, 3870.432617, 1.878745, 0.0000, 0.0000, 90.0001);
  211. CreateObject(987, 2769.339844, 3862.640869, 1.880870, 0.0000, 0.0000, 0.0001);
  212. CreateObject(987, 2803.332031, 3882.578613, 1.907252, 0.0000, 0.0000, 0.0001);
  213. CreateObject(987, 2815.271973, 3882.590576, 1.882252, 0.0000, 0.0000, 0.0001);
  214. CreateObject(987, 2821.659912, 3882.504150, 1.907252, 0.0000, 0.0000, 0.0001);
  215. CreateObject(987, 2833.271973, 3882.459717, 1.807252, 0.0000, 0.0000, 90.0001);
  216. CreateObject(987, 2833.254883, 3894.394775, 1.807252, 0.0000, 0.0000, 90.0001);
  217. CreateObject(987, 2757.411133, 3862.654053, 1.880870, 0.0000, 0.0000, 0.0001);
  218. CreateObject(987, 2745.479248, 3862.636230, 1.880870, 0.0000, 0.0000, 0.0001);
  219. CreateObject(17596, 2793.406250, 2626.822998, -1.549070, 15.4699, 0.0000, 0.0000);
  220. CreateObject(3330, 2793.298828, 2687.031006, 4.433930, 16.3293, 0.0000, 0.0000);
  221. CreateObject(2600, 2782.371094, 3882.759521, 2.657276, 0.0000, 0.0000, 1.7189);
  222. CreateObject(2099, 2802.915527, 3940.965088, 1.896277, 0.0000, 0.0000, 45.0000);
  223. CreateObject(1641, 2790.642090, 3939.500977, 1.942813, 0.0000, 0.0000, 180.0000);
  224. CreateObject(1642, 2788.214355, 3939.517334, 1.932657, 0.0000, 0.0000, 0.0000);
  225. CreateObject(1643, 2785.763672, 3939.472168, 1.932657, 0.0000, 0.0000, 0.0000);
  226. CreateObject(2404, 2783.098389, 3941.235352, 1.912944, 271.4780, 359.1406, 90.0000);
  227. CreateObject(900, 2804.339844, 3954.145996, -1.303467, 0.0000, 354.8434, 258.7500);
  228. CreateObject(900, 2815.126221, 3980.166260, -0.659409, 0.0000, 354.8434, 191.2500);
  229. CreateObject(7505, 2802.742432, 3798.316162, 3.437668, 0.0000, 0.0000, 270.0000);
  230. CreateObject(7505, 2802.742920, 3641.159424, 3.437389, 0.0000, 0.0000, 270.0000);
  231. CreateObject(7505, 2802.746826, 3484.000244, 3.435982, 0.0000, 0.0000, 270.0000);
  232. CreateObject(7505, 2802.748291, 3326.844238, 3.435509, 0.0000, 0.0000, 270.0000);
  233. CreateObject(7505, 2802.746094, 3169.716064, 3.433393, 0.0000, 0.0000, 270.0000);
  234. CreateObject(7505, 2802.758057, 3105.268555, 3.403393, 0.0000, 0.0000, 270.0000);
  235. CreateObject(7505, 2784.295166, 3799.340576, 3.595889, 0.0000, 0.0000, 90.0000);
  236. CreateObject(7505, 2784.292236, 3642.181396, 3.592443, 0.0000, 0.0000, 90.0000);
  237. CreateObject(7505, 2784.292969, 3485.021484, 3.592232, 0.0000, 0.0000, 90.0000);
  238. CreateObject(7505, 2784.293213, 3327.863525, 3.588009, 0.0000, 0.0000, 90.0000);
  239. CreateObject(7505, 2784.292969, 3170.705811, 3.585893, 0.0000, 0.0000, 90.0000);
  240. CreateObject(7505, 2784.297607, 3108.097656, 3.590165, 0.0000, 0.0000, 90.0000);
  241. CreateObject(7504, 2784.334473, 2866.111816, 44.972946, 0.0000, 0.0000, 90.0000);
  242. CreateObject(7504, 2784.333496, 2835.885010, 44.972946, 0.0000, 0.0000, 90.0000);
  243. CreateObject(7505, 2784.296143, 2988.072266, 18.099661, 0.0000, 19.7670, 90.0000);
  244. CreateObject(7504, 2802.581055, 2866.117920, 44.972946, 0.0000, 0.0000, 270.0000);
  245. CreateObject(7505, 2802.782227, 2985.141602, 18.858707, 0.0000, 340.2330, 270.0000);
  246. CreateObject(7504, 2802.576904, 2835.916748, 44.979515, 0.0000, 0.0000, 270.0000);
  247. CreateObject(16113, 2765.790039, 4110.374512, 0.920242, 0.0000, 0.0000, 44.0632);
  248. CreateObject(16113, 2806.459717, 4089.077148, 0.692009, 0.0000, 0.0000, 314.0632);
  249. CreateObject(16113, 2808.223389, 4040.541992, 0.547960, 0.0000, 0.0000, 307.1877);
  250. CreateObject(16113, 2787.642090, 4007.760742, 1.183426, 0.0000, 0.0000, 313.2038);
  251. CreateObject(16113, 2762.710205, 3854.809570, -7.929073, 0.0000, 0.0000, 221.4849);
  252. CreateObject(16113, 2840.074463, 3873.454102, 1.289352, 0.0000, 0.0000, 221.4849);
  253. CreateObject(16113, 2841.096924, 3887.489990, -1.353840, 0.0000, 0.0000, 311.4849);
  254. CreateObject(16113, 2847.321045, 3921.206055, -4.584655, 0.0000, 0.0000, 314.0632);
  255. CreateObject(16113, 2849.746094, 3966.774902, -4.421734, 0.0000, 0.0000, 313.2038);
  256. CreateObject(16113, 2823.326416, 3993.982422, -3.665109, 0.0000, 0.0000, 39.6887);
  257. CreateObject(1231, 2786.251221, 3867.078369, 4.648500, 0.0000, 0.0000, 2.5783);
  258. CreateObject(1231, 2786.277344, 3791.860840, 4.773500, 0.0000, 0.0000, 0.8594);
  259. CreateObject(1231, 2786.564941, 3716.943115, 4.648501, 0.0000, 0.0000, 0.8594);
  260. CreateObject(1231, 2786.550537, 3617.947754, 4.645055, 0.0000, 0.0000, 0.8594);
  261. CreateObject(1231, 2800.627197, 3825.125244, 4.673501, 0.0000, 0.0000, 0.8594);
  262. CreateObject(1231, 2800.541016, 3753.351563, 4.623501, 0.0000, 0.0000, 0.8594);
  263. CreateObject(1231, 2800.398193, 3669.978516, 4.670051, 0.0000, 0.0000, 0.8594);
  264. CreateObject(1231, 2786.157959, 3505.436523, 4.669846, 0.0000, 0.0000, 0.8594);
  265. CreateObject(1231, 2800.230469, 3563.775391, 4.620051, 0.0000, 0.0000, 0.8594);
  266. CreateObject(7504, 2784.338135, 2711.887939, 23.498024, 0.0000, 344.5301, 90.0000);
  267. CreateObject(7504, 2784.337158, 2744.802490, 32.598633, 0.0000, 344.5301, 90.0000);
  268. CreateObject(7504, 2802.567383, 2711.879883, 23.485001, 0.0000, 15.4699, 270.0000);
  269. CreateObject(7504, 2802.575195, 2744.842529, 32.611084, 0.0000, 15.4699, 270.0000);
  270. CreateObject(978, 2781.916504, 2664.227539, 10.660533, 0.0000, 0.0000, 226.6417);
  271. CreateObject(979, 2805.410645, 2663.927246, 10.676158, 0.0000, 0.0000, 136.7189);
  272. CreateObject(1231, 2786.315186, 3388.774170, 4.694848, 0.0000, 0.0000, 0.8594);
  273. CreateObject(1231, 2800.739990, 3451.994141, 4.619842, 0.0000, 0.0000, 0.8594);
  274. CreateObject(1231, 2800.624512, 3332.980225, 4.669844, 0.0000, 0.0000, 0.8594);
  275. CreateObject(1231, 2786.648926, 3276.288574, 4.683122, 0.0000, 0.0000, 349.6094);
  276. CreateObject(1231, 2800.454834, 3219.827637, 4.683122, 0.0000, 0.0000, 180.8594);
  277. CreateObject(1231, 2786.567627, 3173.609375, 4.731006, 0.0000, 0.0000, 180.8594);
  278. CreateObject(1231, 2800.383789, 3114.895752, 4.756007, 0.0000, 0.0000, 180.8594);
  279. CreateObject(1231, 2786.452637, 3069.629883, 4.806006, 0.0000, 0.0000, 180.8594);
  280. CreateObject(1231, 2800.636963, 3030.283691, 4.681006, 0.0000, 0.0000, 180.8594);
  281. CreateObject(1231, 2786.476074, 2910.062256, 46.234993, 0.0000, 0.0000, 180.8594);
  282. CreateObject(1231, 2800.037598, 2868.229004, 46.189613, 0.0000, 0.0000, 180.8594);
  283. CreateObject(1231, 2786.626221, 2834.247070, 46.214615, 0.0000, 0.0000, 180.8594);
  284. CreateObject(1231, 2800.455078, 2792.310303, 46.189613, 0.0000, 0.0000, 180.8594);
  285. CreateObject(1231, 2786.419434, 2666.415283, 12.450706, 0.0000, 0.0000, 180.8594);
  286. CreateObject(1231, 2800.477783, 2666.404297, 12.475706, 0.0000, 0.0000, 180.8594);
  287.  
  288.  
  289. car1 = CreateVehicle(593,2778.8752,4069.7817,3.3613,89.0416,36,8,86000); // lvhouse dodo 1
  290. ChangeVehicleColor(car1,36,8);
  291.  
  292. car2 = CreateVehicle(593,2791.1309,4069.5298,3.3509,88.2908,3,3,86000); // lvhouse dodo 2
  293. ChangeVehicleColor(car2,3,3);
  294.  
  295. car3 = CreateVehicle(520,2782.9478,4041.6558,2.6057,89.4595,0,0,86000); // lvhouse hydra
  296. ChangeVehicleColor(car3,0,0);
  297.  
  298. car4 = CreateVehicle(487,2824.6201,3962.8489,6.1052,136.0275,3,1,86000); // lvhouse heli
  299. ChangeVehicleColor(car4,3,1);
  300.  
  301. car5 = CreateVehicle(541,2757.2288,3872.5872,2.6357,268.1803,3,3,86000); // lvhouse bullet
  302. ChangeVehicleColor(car5,3,3);
  303.  
  304. car6 = CreateVehicle(475,2758.0200,3885.7693,2.7130,269.7341,0,0,86000); // lvhouse sabre
  305. ChangeVehicleColor(car6,0,0);
  306.  
  307. car7 = CreateVehicle(451,2757.7957,3894.6533,2.6175,89.0281,1,1,86000); // lvhouse turismo
  308. ChangeVehicleColor(car7,1,1);
  309.  
  310. car8 = CreateVehicle(411,2758.2224,3905.3643,2.6404,89.5002,9,9,86000); // lvhouse infernus
  311. ChangeVehicleColor(car8,9,9);
  312.  
  313. car9 = CreateVehicle(506,2757.7476,3914.7612,2.6179,272.5824,17,17,86000); // lvhouse supergt
  314. ChangeVehicleColor(car9,17,17);
  315.  
  316. car10 = CreateVehicle(480,2829.9731,3887.2024,2.6794,269.6790,6,6,86000); // lvhouse comet
  317. ChangeVehicleColor(car10,6,6);
  318.  
  319. car11 = CreateVehicle(559,2830.1372,3895.2434,2.5636,93.2827,22,1,86000); // lvhouse jester
  320. ChangeVehicleColor(car11,22,1);
  321.  
  322. car12 = CreateVehicle(567,2829.6392,3905.3013,2.7777,270.2847,0,0,86000); // lvhouse savanna
  323. ChangeVehicleColor(car12,0,0);
  324.  
  325. interior1 = CreatePickup(1273, 23, 2791.5508,3898.2925,3.4960);
  326. interiorexit1 = CreatePickup(1273, 23, 2543.4402,-1303.9565,1025.0703);
  327.  
  328. return 1;
  329. }
  330.  
  331. public OnFilterScriptExit()
  332. {
  333. return 1;
  334. }
  335.  
  336. public OnPlayerCommandText(playerid, cmdtext[])
  337. {
  338. if( !strcmp(cmdtext,"/lvahtele",true ))
  339. {
  340. SetPlayerPos(playerid,2791.5149,3895.4854,2.9100);
  341. SendClientMessage(playerid,COLOR_GREEN, "Welcome To The Las Ventures Admin House!");
  342. return 1;
  343. }
  344. if( !strcmp(cmdtext,"/lvahcam1on",true ))
  345. {
  346. SetPlayerCameraPos(playerid, 2803.4465,3900.2634,11.8901);
  347. SetPlayerCameraLookAt(playerid, 2794.8877,3882.4575,2.9073);
  348. SendClientMessage (playerid, COLOR_GREEN, "Camera: Las Ventures Camera 1!");
  349. return 1;
  350. }
  351. if( !strcmp(cmdtext,"/lvahcam2on",true ))
  352. {
  353. SetPlayerCameraPos(playerid, 2779.7661,3900.8152,12.0417);
  354. SetPlayerCameraLookAt(playerid, 2789.8892,3880.9919,2.8712);
  355. SendClientMessage (playerid, COLOR_GREEN, "Camera: Las Ventures Camera 2!");
  356. return 1;
  357. }
  358. if( !strcmp(cmdtext,"/cameraoff",true ))
  359. {
  360. TogglePlayerControllable(playerid, 1);
  361. SetCameraBehindPlayer(playerid);
  362. SendClientMessage (playerid, COLOR_WHITE, "You have stopped specing from the camera!");
  363. SendClientMessage (playerid, COLOR_WHITE, "Welcome back to the position you left off in!");
  364. return 1;
  365. }
  366. if( !strcmp(cmdtext,"/lvahopen",true ))
  367. {
  368. MoveObject(gate,2793.435303, 3880.137695, 10.504232,2);
  369. SendClientMessage(playerid, COLOR_RED, "The LV Admin House Gate Is Open!");
  370. return 1;
  371. }
  372. if( !strcmp(cmdtext,"/lvahclose",true ))
  373. {
  374. MoveObject(gate,2793.449951, 3880.148438, 4.679246,2);
  375. SendClientMessage(playerid, COLOR_GREEN, "The LV Admin House Gate Is Closed!");
  376. return 1;
  377. }
  378.  
  379. return 0;
  380. }
  381.  
  382. public OnPlayerStateChange(playerid, newstate, oldstate)
  383. {
  384. new vehicleid = GetPlayerVehicleID(playerid);
  385. if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
  386. {
  387. if(vehicleid == car1)
  388. {
  389. if(IsPlayerAdmin(playerid)){
  390. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  391. }
  392. else
  393. {
  394. RemovePlayerFromVehicle(playerid);
  395. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  396. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  397. }
  398. }
  399.  
  400. if(vehicleid == car2)
  401. {
  402. if(IsPlayerAdmin(playerid)){
  403. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  404. }
  405. else
  406. {
  407. RemovePlayerFromVehicle(playerid);
  408. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  409. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  410. }
  411. }
  412.  
  413. if(vehicleid == car3)
  414. {
  415. if(IsPlayerAdmin(playerid)){
  416. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  417. }
  418. else
  419. {
  420. RemovePlayerFromVehicle(playerid);
  421. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  422. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  423. }
  424. }
  425.  
  426. if(vehicleid == car4)
  427. {
  428. if(IsPlayerAdmin(playerid)){
  429. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  430. }
  431. else
  432. {
  433. RemovePlayerFromVehicle(playerid);
  434. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  435. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  436. }
  437. }
  438.  
  439. if(vehicleid == car5)
  440. {
  441. if(IsPlayerAdmin(playerid)){
  442. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  443. }
  444. else
  445. {
  446. RemovePlayerFromVehicle(playerid);
  447. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  448. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  449. }
  450. }
  451.  
  452. if(vehicleid == car6)
  453. {
  454. if(IsPlayerAdmin(playerid)){
  455. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  456. }
  457. else
  458. {
  459. RemovePlayerFromVehicle(playerid);
  460. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  461. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  462. }
  463. }
  464.  
  465. if(vehicleid == car7)
  466. {
  467. if(IsPlayerAdmin(playerid)){
  468. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  469. }
  470. else
  471. {
  472. RemovePlayerFromVehicle(playerid);
  473. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  474. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  475. }
  476. }
  477.  
  478. if(vehicleid == car8)
  479. {
  480. if(IsPlayerAdmin(playerid)){
  481. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  482. }
  483. else
  484. {
  485. RemovePlayerFromVehicle(playerid);
  486. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  487. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  488. }
  489. }
  490.  
  491. if(vehicleid == car9)
  492. {
  493. if(IsPlayerAdmin(playerid)){
  494. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  495. }
  496. else
  497. {
  498. RemovePlayerFromVehicle(playerid);
  499. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  500. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  501. }
  502. }
  503.  
  504. if(vehicleid == car10)
  505. {
  506. if(IsPlayerAdmin(playerid)){
  507. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  508. }
  509. else
  510. {
  511. RemovePlayerFromVehicle(playerid);
  512. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  513. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  514. }
  515. }
  516.  
  517. if(vehicleid == car11)
  518. {
  519. if(IsPlayerAdmin(playerid)){
  520. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  521. }
  522. else
  523. {
  524. RemovePlayerFromVehicle(playerid);
  525. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  526. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  527. }
  528. }
  529.  
  530. if(vehicleid == car12)
  531. {
  532. if(IsPlayerAdmin(playerid)){
  533. SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin vehicle!");
  534. }
  535. else
  536. {
  537. RemovePlayerFromVehicle(playerid);
  538. PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
  539. SendClientMessage(playerid, COLOR_RED, "Admins only!");
  540. }
  541. }
  542. }
  543. return 1;
  544. }
  545.  
  546. public OnPlayerPickUpPickup(playerid, pickupid)
  547. {
  548. if( pickupid == interior1) {
  549. SetPlayerInterior(playerid, 2);
  550. SetPlayerPos(playerid,2576.7869,-1300.4189,1060.9844);
  551. }
  552. if( pickupid == interiorexit1) {
  553. SetPlayerInterior(playerid, 0);
  554. SetPlayerPos(playerid,2791.5149,3895.4854,2.9100);
  555. }
  556. return 1;
  557. }
  558.  
  559. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement