Advertisement
Guest User

Untitled

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