KhaledElkhourashi

Changelog command

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