Guest User

Untitled

a guest
Mar 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11. print("\n--------------------------------------");
  12. print(" Blank Filterscript by your name here");
  13. print("--------------------------------------\n");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. return 1;
  20. }
  21.  
  22. #else
  23.  
  24. main()
  25. {
  26. print("\n----------------------------------");
  27. print(" Mode By SpeeN");
  28. print("----------------------------------\n");
  29. }
  30.  
  31. #endif
  32.  
  33. public OnGameModeInit()
  34. {
  35. AddAllClasses(0.0,0.0,0.0,0.0,0,0,0,0,0,0);
  36. UsePlayerPedAnims();
  37. return 1;
  38. [
  39.  
  40. public OnGameModeExit()
  41. {
  42. return 1;
  43. }
  44.  
  45. public OnPlayerRequestClass(playerid, classid)
  46. {
  47. //SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  48. //SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  49. //SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  50. return 1;
  51. }
  52.  
  53. public OnPlayerConnect(playerid)
  54. {
  55. return 1;
  56. }
  57.  
  58. public OnPlayerDisconnect(playerid, reason)
  59. {
  60. return 1;
  61. }
  62.  
  63. public OnPlayerSpawn(playerid)
  64. {
  65. return 1;
  66. }
  67.  
  68. public OnPlayerDeath(playerid, killerid, reason)
  69. {
  70. return 1;
  71. }
  72.  
  73. public OnVehicleSpawn(vehicleid)
  74. {
  75. return 1;
  76. }
  77.  
  78. public OnVehicleDeath(vehicleid, killerid)
  79. {
  80. return 1;
  81. }
  82.  
  83. public OnPlayerText(playerid, text[])
  84. {
  85. return 1;
  86. }
  87.  
  88. public OnPlayerCommandText(playerid, cmdtext[])
  89. {
  90. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  91. {
  92. // Do something here
  93. return 1;
  94. }
  95. return 0;
  96. }
  97.  
  98. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  99. {
  100. return 1;
  101. }
  102.  
  103. public OnPlayerExitVehicle(playerid, vehicleid)
  104. {
  105. return 1;
  106. }
  107.  
  108. public OnPlayerStateChange(playerid, newstate, oldstate)
  109. {
  110. return 1;
  111. }
  112.  
  113. public OnPlayerEnterCheckpoint(playerid)
  114. {
  115. return 1;
  116. }
  117.  
  118. public OnPlayerLeaveCheckpoint(playerid)
  119. {
  120. return 1;
  121. }
  122.  
  123. public OnPlayerEnterRaceCheckpoint(playerid)
  124. {
  125. return 1;
  126. }
  127.  
  128. public OnPlayerLeaveRaceCheckpoint(playerid)
  129. {
  130. return 1;
  131. }
  132.  
  133. public OnRconCommand(cmd[])
  134. {
  135. return 1;
  136. }
  137.  
  138. public OnPlayerRequestSpawn(playerid)
  139. {
  140. return 1;
  141. }
  142.  
  143. public OnObjectMoved(objectid)
  144. {
  145. return 1;
  146. }
  147.  
  148. public OnPlayerObjectMoved(playerid, objectid)
  149. {
  150. return 1;
  151. }
  152.  
  153. public OnPlayerPickUpPickup(playerid, pickupid)
  154. {
  155. return 1;
  156. }
  157.  
  158. public OnVehicleMod(playerid, vehicleid, componentid)
  159. {
  160. return 1;
  161. }
  162.  
  163. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  164. {
  165. return 1;
  166. }
  167.  
  168. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  169. {
  170. return 1;
  171. }
  172.  
  173. public OnPlayerSelectedMenuRow(playerid, row)
  174. {
  175. return 1;
  176. }
  177.  
  178. public OnPlayerExitedMenu(playerid)
  179. {
  180. return 1;
  181. }
  182.  
  183. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  184. {
  185. return 1;
  186. }
  187.  
  188. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  189. {
  190. return 1;
  191. }
  192.  
  193. public OnRconLoginAttempt(ip[], password[], success)
  194. {
  195. return 1;
  196. }
  197.  
  198. public OnPlayerUpdate(playerid)
  199. {
  200. return 1;
  201. }
  202.  
  203. public OnPlayerStreamIn(playerid, forplayerid)
  204. {
  205. return 1;
  206. }
  207.  
  208. public OnPlayerStreamOut(playerid, forplayerid)
  209. {
  210. return 1;
  211. }
  212.  
  213. public OnVehicleStreamIn(vehicleid, forplayerid)
  214. {
  215. return 1;
  216. }
  217.  
  218. public OnVehicleStreamOut(vehicleid, forplayerid)
  219. {
  220. return 1;
  221. }
  222.  
  223. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  224. {
  225. return 1;
  226. }
  227.  
  228. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  229. {
  230. return 1;
  231. }
  232.  
  233. stock AddAllClasses(Float:cX,Float:cY,Float:cZ,Float:cA,w1,a1,w2,a2,w3,a3)
  234. {
  235. for(new i; i<300;i++) AddPlayerClass(i,cX,cY,cZ,cA,w1,a1,w2,a2,w3,a3);
  236. return 1;
  237. }
Add Comment
Please, Sign In to add comment