Advertisement
BFire

Untitled

Apr 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. new gate;
  4. new elevator;
  5. public OnGameModeInit()
  6. {
  7.  
  8. gate = CreateObject(980, 1281.4580, -2056.3271, 60.3628, 0.0000, 0.0000, 359.6970); //ùòø
  9. elevator = CreateObject(18755, 1132.66760, -2065.99756, 69.98204, 0.00000, 0.00000, 180.00000);
  10. // Don't use these lines if it's a filterscript
  11. SetGameModeText("Blank Script");
  12. AddPlayerClass(0, 2443.6575,1587.8685,10.9409,262.6032, 0, 0, 0, 0, 0, 0);
  13. return 1;
  14. }
  15.  
  16. public OnGameModeExit()
  17. {
  18. return 1;
  19. }
  20.  
  21. public OnPlayerRequestClass(playerid, classid)
  22. {
  23. return 1;
  24. }
  25.  
  26. public OnPlayerConnect(playerid)
  27. {
  28. CreateObject(8210, 1252.75818, -2078.92407, 59.65793, 0.00000, 0.00000, 359.69696);
  29. CreateObject(8210, 1131.55652, -2080.29126, 71.10884, 0.00000, 0.00000, 0.00000);
  30. CreateObject(8210, 1104.14917, -2053.08472, 68.83514, 0.00000, 0.00000, 270.00000);
  31. CreateObject(8210, 1104.10657, -2021.21533, 68.83514, 0.00000, 0.00000, 270.00000);
  32. CreateObject(8210, 1131.62842, -1992.99304, 70.87988, 0.00000, 0.00000, 180.75000);
  33. CreateObject(8210, 1265.64734, -1995.74341, 62.34770, 0.00000, 0.00000, 177.24240);
  34. CreateObject(8210, 1183.25330, -1991.13806, 70.87988, 0.00000, 0.00000, 177.24243);
  35. CreateObject(8210, 1238.69836, -1994.43604, 70.87990, 0.00000, 0.00000, 177.24240);
  36. CreateObject(8210, 1238.64001, -1994.35339, 64.03164, 0.00000, 0.00000, 177.24240);
  37. CreateObject(8210, 1292.47131, -2022.74622, 60.41938, 0.00000, 0.00000, 90.00000);
  38. CreateObject(8210, 1994.43604, -1994.43604, 70.87990, 0.00000, 0.00000, 177.24240);
  39. CreateObject(987, 1280.60181, -2049.94580, 58.07603, 0.00000, 0.00000, 357.46021);
  40. CreateObject(3749, 1281.72095, -2056.28906, 62.71210, 0.00000, 0.00000, 90.00000);
  41. CreateObject(8210, 1238.69836, -1994.43604, 70.87990, 0.00000, 0.00000, 177.24240);
  42. CreateObject(8210, 1186.84949, -2080.29126, 71.10880, 0.00000, 0.00000, 0.00000);
  43. CreateObject(8210, 1239.69128, -2078.92407, 65.93920, 0.00000, 0.00000, 0.40600);
  44. CreateObject(8210, 1239.43774, -2078.92407, 71.10880, 0.00000, 0.00000, 0.00000);
  45. CreateObject(987, 1280.19653, -2079.15137, 58.48020, 0.00000, 0.00000, 90.00000);
  46. CreateObject(2898, 1124.71960, -2033.28540, 68.88020, 0.00000, 0.00000, 90.00000);
  47. CreateObject(2898, 1124.71960, -2040.71655, 68.88020, 0.00000, 0.00000, 90.00000);
  48. CreateObject(2898, 1124.71960, -2037.36462, 68.88020, 0.00000, 0.00000, 90.00000);
  49. CreateObject(3471, 1123.38879, -2033.24365, 70.14620, 0.00000, 0.00000, 0.00000);
  50. CreateObject(3471, 1123.38879, -2040.73828, 70.14620, 0.00000, 0.00000, 0.00000);
  51. CreateObject(18836, 1102.70972, -2037.03918, 69.93630, 0.00000, 180.00000, 90.00000);
  52. CreateObject(3528, 1122.89661, -2037.36938, 74.14199, 0.00000, 30.00000, 0.00000);
  53. CreateObject(8493, 1179.96802, -2072.49121, 84.35310, 0.00000, 0.00000, -90.00000);
  54. CreateObject(8493, 1179.96802, -2002.34875, 84.35312, 0.00000, 0.00000, -90.00000);
  55. CreateObject(18750, 1169.50452, -2037.60901, 119.19413, 90.00000, 0.00000, 90.00000);
  56. CreateObject(19885, 1180.74292, -2036.47058, 67.99290, 0.00000, 0.00000, 90.00000);
  57. CreateObject(19885, 1162.23450, -2036.47058, 67.99290, 0.00000, 0.00000, 90.00000);
  58. CreateObject(18658, 1173.92712, -2001.52344, 100.03900, -50.00000, 0.00000, 180.00000);
  59. CreateObject(18658, 1173.92712, -2072.38452, 100.03903, -50.00000, 0.00000, 359.90201);
  60. CreateObject(18800, 1192.36584, -2030.42737, 50.37450, 0.00000, 20.00000, -90.00000);
  61. CreateObject(18800, 1147.06360, -2043.90588, 50.37450, 0.00000, 20.00000, 90.00000);
  62. CreateObject(5390, 1191.57886, -2048.25757, 190.00000, 0.00000, 0.00000, 0.00000);
  63. CreateObject(2000, 1128.70251, -2051.43042, 67.99370, 0.00000, 0.00000, 0.00000);
  64. CreateObject(18835, 1235.79333, -2060.63965, 90.75388, 90.00000, 0.00000, 359.06314);
  65. CreateObject(18835, 1235.35571, -2012.19128, 91.13950, 90.00000, 0.00000, 180.00000);
  66. CreateObject(18842, 1235.36609, -2034.51270, 91.20625, 0.00000, 90.00000, 90.00000);
  67. CreateObject(16345, 1129.42041, -2008.48853, 70.97920, 0.00000, 0.00000, 0.00000);
  68. CreateObject(16345, 1129.42041, -2073.86621, 70.97917, 0.00000, 0.00000, 0.00000);
  69.  
  70. CreateVehicle(429, 1148.5750, -2048.0142, 68.7506, 0.0000, -1, -1, 100);
  71. CreateVehicle(429, 1190.4629, -2025.9943, 68.7506, 180.0000, -1, -1, 100);
  72. CreateVehicle(451, 1190.4629, -2048.3093, 68.7650, 0.0000, -1, -1, 100);
  73. CreateVehicle(451, 1148.5750, -2026.2437, 68.7650, 180.0000, -1, -1, 100);
  74. CreateVehicle(409, 1275.7622, -2027.1412, 59.1327, 90.0000, -1, -1, 100);
  75. CreateVehicle(409, 1275.7622, -2018.1096, 68.9256, 90.0000, -1, -1, 100);
  76. CreateVehicle(556, 1275.7622, -2007.4125, 59.1327, 90.0000, -1, -1, 100);
  77. CreateVehicle(556, 1275.7622, -2038.9685, 59.1327, 90.0000, -1, -1, 100);
  78. CreateVehicle(425, 1119.2002, -2018.4098, 77.7685, -90.0000, -1, -1, 100);
  79. CreateVehicle(520, 1116.3555, -2056.0046, 77.8427, -90.0000, -1, -1, 100);
  80.  
  81.  
  82. return 1;
  83. }
  84.  
  85. public OnPlayerDisconnect(playerid, reason)
  86. {
  87. return 1;
  88. }
  89.  
  90. public OnPlayerSpawn(playerid)
  91. {
  92. return 1;
  93. }
  94.  
  95. public OnPlayerDeath(playerid, killerid, reason)
  96. {
  97. return 1;
  98. }
  99.  
  100. public OnVehicleSpawn(vehicleid)
  101. {
  102.  
  103. return 1;
  104. }
  105.  
  106. public OnVehicleDeath(vehicleid, killerid)
  107. {
  108. return 1;
  109. }
  110.  
  111. public OnPlayerText(playerid, text[])
  112. {
  113. return 1;
  114. }
  115.  
  116. public OnPlayerCommandText(playerid, cmdtext[])
  117. {
  118. if (strcmp("/og", cmdtext, true, 10) == 0)
  119. {
  120. MoveObject(gate, 1281.4580, -2056.3271, 54.8739, 3.5);
  121. SendClientMessage(playerid, 0x00ff00, "ôúçú àú äùòø");
  122. return 1;
  123. }
  124. if (strcmp("/cg", cmdtext, true, 10) == 0)
  125. {
  126. MoveObject(gate, 1281.4580, -2056.3271, 60.3628, 3.5);
  127. SendClientMessage(playerid, 0x00ff00, "ñâøú àú äùòø");
  128. return 1;
  129. }
  130. if (strcmp("/uv", cmdtext, true, 10) == 0)
  131. {
  132. MoveObject(gate, 1132.8185, -2065.7681, 188.3752, 3.5);
  133. SendClientMessage(playerid, 0x00ff00, "äòìú àú äîòìéú");
  134. return 1;
  135. }
  136. if (strcmp("/dv", cmdtext, true, 10) == 0)
  137. {
  138. MoveObject(gate, 1132.8185, -2065.7681, 69.9820, 3.5);
  139. SendClientMessage(playerid, 0x00ff00, "äåøãú àú äîòìéú");
  140. return 1;
  141. }
  142. return 0;
  143. }
  144.  
  145. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  146. {
  147. return 1;
  148. }
  149.  
  150. public OnPlayerExitVehicle(playerid, vehicleid)
  151. {
  152. return 1;
  153. }
  154.  
  155. public OnPlayerStateChange(playerid, newstate, oldstate)
  156. {
  157. return 1;
  158. }
  159.  
  160. public OnPlayerEnterCheckpoint(playerid)
  161. {
  162. return 1;
  163. }
  164.  
  165. public OnPlayerLeaveCheckpoint(playerid)
  166. {
  167. return 1;
  168. }
  169.  
  170. public OnPlayerEnterRaceCheckpoint(playerid)
  171. {
  172. return 1;
  173. }
  174.  
  175. public OnPlayerLeaveRaceCheckpoint(playerid)
  176. {
  177. return 1;
  178. }
  179.  
  180. public OnRconCommand(cmd[])
  181. {
  182. return 1;
  183. }
  184.  
  185. public OnPlayerRequestSpawn(playerid)
  186. {
  187. return 1;
  188. }
  189.  
  190. public OnObjectMoved(objectid)
  191. {
  192. return 1;
  193. }
  194.  
  195. public OnPlayerObjectMoved(playerid, objectid)
  196. {
  197. return 1;
  198. }
  199.  
  200. public OnPlayerPickUpPickup(playerid, pickupid)
  201. {
  202. return 1;
  203. }
  204.  
  205. public OnVehicleMod(playerid, vehicleid, componentid)
  206. {
  207. return 1;
  208. }
  209.  
  210. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  211. {
  212. return 1;
  213. }
  214.  
  215. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  216. {
  217. return 1;
  218. }
  219.  
  220. public OnPlayerSelectedMenuRow(playerid, row)
  221. {
  222. return 1;
  223. }
  224.  
  225. public OnPlayerExitedMenu(playerid)
  226. {
  227. return 1;
  228. }
  229.  
  230. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  231. {
  232. return 1;
  233. }
  234.  
  235. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  236. {
  237. return 1;
  238. }
  239.  
  240. public OnRconLoginAttempt(ip[], password[], success)
  241. {
  242. return 1;
  243. }
  244.  
  245. public OnPlayerUpdate(playerid)
  246. {
  247. return 1;
  248. }
  249.  
  250. public OnPlayerStreamIn(playerid, forplayerid)
  251. {
  252. return 1;
  253. }
  254.  
  255. public OnPlayerStreamOut(playerid, forplayerid)
  256. {
  257. return 1;
  258. }
  259.  
  260. public OnVehicleStreamIn(vehicleid, forplayerid)
  261. {
  262. return 1;
  263. }
  264.  
  265. public OnVehicleStreamOut(vehicleid, forplayerid)
  266. {
  267. return 1;
  268. }
  269.  
  270. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  271. {
  272. return 1;
  273. }
  274.  
  275. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  276. {
  277. return 1;
  278. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement