Advertisement
Guest User

Untitled

a guest
Oct 28th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1.  
  2. #define FILTERSCRIPT
  3.  
  4. #include <a_samp>
  5.  
  6. #if defined FILTERSCRIPT
  7.  
  8.  
  9.  
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. print("\n--------------------------------------");
  14. print(" Padobran sistem by Seeley");
  15. print("--------------------------------------\n");
  16. CreatePickup(1310, 1, 1977.8570556641, -2183.8078613281, 13.5, -1);
  17. Create3DTextLabel("Skok Padobranom \n 3500$",0xC2A2DAAA,1977.8570556641, -2183.8078613281, 14,30.0,0,0);
  18. //Mappa
  19. CreateObject(3881, 1976.1999511719, -2180.3999023438, 14.39999961853, 0, 0, 90);
  20. CreateObject(3068, 1428, -2001, 2169.6000976563, 0, 0, 0);
  21. CreateObject(3095, 1428.0999755859, -2014.5, 2167.8000488281, 0, 0, 0);
  22. CreateObject(3095, 1428.4000244141, -2005.5, 2167.8000488281, 0, 0, 0);
  23. CreateObject(3095, 1428, -2017.5, 2168.3999023438, 90, 90, 270);
  24. return 1;
  25. }
  26.  
  27. public OnFilterScriptExit()
  28. {
  29. return 1;
  30. }
  31.  
  32. #else
  33.  
  34. main()
  35. {
  36. print("\n----------------------------------");
  37. print(" Blank Gamemode by your name here");
  38. print("----------------------------------\n");
  39. }
  40.  
  41. #endif
  42.  
  43. public OnGameModeInit()
  44. {
  45. // Don't use these lines if it's a filterscript
  46. SetGameModeText("Blank Script");
  47. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  48. return 1;
  49. }
  50.  
  51. public OnGameModeExit()
  52. {
  53. return 1;
  54. }
  55.  
  56. public OnPlayerRequestClass(playerid, classid)
  57. {
  58. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  59. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  60. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  61. return 1;
  62. }
  63.  
  64. public OnPlayerConnect(playerid)
  65. {
  66. return 1;
  67. }
  68.  
  69. public OnPlayerDisconnect(playerid, reason)
  70. {
  71. return 1;
  72. }
  73.  
  74. public OnPlayerSpawn(playerid)
  75. {
  76. return 1;
  77. }
  78.  
  79. public OnPlayerDeath(playerid, killerid, reason)
  80. {
  81. return 1;
  82. }
  83.  
  84. public OnVehicleSpawn(vehicleid)
  85. {
  86. return 1;
  87. }
  88.  
  89. public OnVehicleDeath(vehicleid, killerid)
  90. {
  91. return 1;
  92. }
  93.  
  94. public OnPlayerText(playerid, text[])
  95. {
  96. return 1;
  97. }
  98.  
  99. public OnPlayerCommandText(playerid, cmdtext[])
  100. {
  101. if(!strcmp("/padobran",cmdtext))
  102. {
  103. if(IsPlayerInRangeOfPoint(playerid, 3.0, 1977.8570556641, -2183.8078613281, 14))
  104. {
  105. if(GetPlayerMoney(playerid) <3500) return SendClientMessage(playerid,0xAA3333AA, "Nemas dovoljno novca. Skok padobranom kosta 3500$!");
  106. GivePlayerMoney(playerid, -3500);
  107. SetPlayerPos(playerid, 1428.2810058594, -2013.8494873047, 2170.3715820313);
  108. GivePlayerWeapon(playerid, 46, 1);
  109. }
  110. return 1;
  111. }
  112. return 0;
  113. }
  114.  
  115. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  116. {
  117. return 1;
  118. }
  119.  
  120. public OnPlayerExitVehicle(playerid, vehicleid)
  121. {
  122. return 1;
  123. }
  124.  
  125. public OnPlayerStateChange(playerid, newstate, oldstate)
  126. {
  127. return 1;
  128. }
  129.  
  130. public OnPlayerEnterCheckpoint(playerid)
  131. {
  132. return 1;
  133. }
  134.  
  135. public OnPlayerLeaveCheckpoint(playerid)
  136. {
  137. return 1;
  138. }
  139.  
  140. public OnPlayerEnterRaceCheckpoint(playerid)
  141. {
  142. return 1;
  143. }
  144.  
  145. public OnPlayerLeaveRaceCheckpoint(playerid)
  146. {
  147. return 1;
  148. }
  149.  
  150. public OnRconCommand(cmd[])
  151. {
  152. return 1;
  153. }
  154.  
  155. public OnPlayerRequestSpawn(playerid)
  156. {
  157. return 1;
  158. }
  159.  
  160. public OnObjectMoved(objectid)
  161. {
  162. return 1;
  163. }
  164.  
  165. public OnPlayerObjectMoved(playerid, objectid)
  166. {
  167. return 1;
  168. }
  169.  
  170. public OnPlayerPickUpPickup(playerid, pickupid)
  171. {
  172. return 1;
  173. }
  174.  
  175. public OnVehicleMod(playerid, vehicleid, componentid)
  176. {
  177. return 1;
  178. }
  179.  
  180. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  181. {
  182. return 1;
  183. }
  184.  
  185. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  186. {
  187. return 1;
  188. }
  189.  
  190. public OnPlayerSelectedMenuRow(playerid, row)
  191. {
  192. return 1;
  193. }
  194.  
  195. public OnPlayerExitedMenu(playerid)
  196. {
  197. return 1;
  198. }
  199.  
  200. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  201. {
  202. return 1;
  203. }
  204.  
  205. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  206. {
  207. return 1;
  208. }
  209.  
  210. public OnRconLoginAttempt(ip[], password[], success)
  211. {
  212. return 1;
  213. }
  214.  
  215. public OnPlayerUpdate(playerid)
  216. {
  217. return 1;
  218. }
  219.  
  220. public OnPlayerStreamIn(playerid, forplayerid)
  221. {
  222. return 1;
  223. }
  224.  
  225. public OnPlayerStreamOut(playerid, forplayerid)
  226. {
  227. return 1;
  228. }
  229.  
  230. public OnVehicleStreamIn(vehicleid, forplayerid)
  231. {
  232. return 1;
  233. }
  234.  
  235. public OnVehicleStreamOut(vehicleid, forplayerid)
  236. {
  237. return 1;
  238. }
  239.  
  240. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  241. {
  242. return 1;
  243. }
  244.  
  245. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  246. {
  247. return 1;
  248. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement