Advertisement
Guest User

Untitled

a guest
Oct 27th, 2013
856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1.  
  2.  
  3. #include <a_samp>
  4. #include <a_players>
  5.  
  6. #define HOLDING(%0) ((newkeys & (%0)) == (%0))
  7. #define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  8.  
  9.  
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. print("Anti-Bhop FS");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. return 1;
  20. }
  21.  
  22. public OnPlayerRequestClass(playerid, classid)
  23. {
  24. return 1;
  25. }
  26.  
  27. public OnPlayerConnect(playerid)
  28. {
  29. return 1;
  30. }
  31.  
  32. public OnPlayerDisconnect(playerid, reason)
  33. {
  34. return 1;
  35. }
  36.  
  37. public OnPlayerSpawn(playerid)
  38. {
  39. ApplyAnimation(playerid, "GYMNASIUM", "gym_jog_falloff",4.1, 0, 1, 1, 0, 0);
  40. return 1;
  41. }
  42.  
  43. public OnPlayerDeath(playerid, killerid, reason)
  44. {
  45. return 1;
  46. }
  47.  
  48. public OnVehicleSpawn(vehicleid)
  49. {
  50. return 1;
  51. }
  52.  
  53. public OnVehicleDeath(vehicleid, killerid)
  54. {
  55. return 1;
  56. }
  57.  
  58. public OnPlayerText(playerid, text[])
  59. {
  60. return 1;
  61. }
  62.  
  63. public OnPlayerCommandText(playerid, cmdtext[])
  64. {
  65. return 0;
  66. }
  67.  
  68. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  69. {
  70. return 1;
  71. }
  72.  
  73. public OnPlayerExitVehicle(playerid, vehicleid)
  74. {
  75. return 1;
  76. }
  77.  
  78. public OnPlayerStateChange(playerid, newstate, oldstate)
  79. {
  80. return 1;
  81. }
  82.  
  83. public OnPlayerEnterCheckpoint(playerid)
  84. {
  85. return 1;
  86. }
  87.  
  88. public OnPlayerLeaveCheckpoint(playerid)
  89. {
  90. return 1;
  91. }
  92.  
  93. public OnPlayerEnterRaceCheckpoint(playerid)
  94. {
  95. return 1;
  96. }
  97.  
  98. public OnPlayerLeaveRaceCheckpoint(playerid)
  99. {
  100. return 1;
  101. }
  102.  
  103. public OnRconCommand(cmd[])
  104. {
  105. return 1;
  106. }
  107.  
  108. public OnPlayerRequestSpawn(playerid)
  109. {
  110. return 1;
  111. }
  112.  
  113. public OnObjectMoved(objectid)
  114. {
  115. return 1;
  116. }
  117.  
  118. public OnPlayerObjectMoved(playerid, objectid)
  119. {
  120. return 1;
  121. }
  122.  
  123. public OnPlayerPickUpPickup(playerid, pickupid)
  124. {
  125. return 1;
  126. }
  127.  
  128. public OnVehicleMod(playerid, vehicleid, componentid)
  129. {
  130. return 1;
  131. }
  132.  
  133. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  134. {
  135. return 1;
  136. }
  137.  
  138. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  139. {
  140. return 1;
  141. }
  142.  
  143. public OnPlayerSelectedMenuRow(playerid, row)
  144. {
  145. return 1;
  146. }
  147.  
  148. public OnPlayerExitedMenu(playerid)
  149. {
  150. return 1;
  151. }
  152.  
  153. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  154. {
  155. return 1;
  156. }
  157.  
  158. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  159. {
  160. if (HOLDING(oldkeys, KEY_SPRINT) && PRESSED(newkeys, KEY_JUMP)){
  161. ApplyAnimation(playerid, "GYMNASIUM", "gym_jog_falloff",4.1, 0, 1, 1, 0, 0);
  162. }
  163. return 1;
  164. }
  165.  
  166. public OnRconLoginAttempt(ip[], password[], success)
  167. {
  168. return 1;
  169. }
  170.  
  171. public OnPlayerUpdate(playerid)
  172. {
  173. return 1;
  174. }
  175.  
  176. public OnPlayerStreamIn(playerid, forplayerid)
  177. {
  178. return 1;
  179. }
  180.  
  181. public OnPlayerStreamOut(playerid, forplayerid)
  182. {
  183. return 1;
  184. }
  185.  
  186. public OnVehicleStreamIn(vehicleid, forplayerid)
  187. {
  188. return 1;
  189. }
  190.  
  191. public OnVehicleStreamOut(vehicleid, forplayerid)
  192. {
  193. return 1;
  194. }
  195.  
  196. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  197. {
  198. return 1;
  199. }
  200.  
  201. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  202. {
  203. return 1;
  204. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement