Advertisement
Guest User

Untitled

a guest
Jan 20th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. // SA:MP Essentials
  2. // Scripted by scratch from Sellize
  3. // Credits to all include makers and helpers @ SA:MP forums!
  4. // Editing this script is not allowed
  5. // Neither is claiming it as your script
  6. // Started at 19 Januari 2013, 18:34
  7. // Ended at
  8. #define FILTERSCRIPT
  9. #define COLOR_GREY 0xAFAFAFAA
  10. #define COLOR_GREEN 0x33AA33AA
  11. #define COLOR_RED 0xAA3333AA
  12. #define COLOR_YELLOW 0xFFFF00AA
  13. #define COLOR_WHITE 0xFFFFFFAA
  14. #define COLOR_BLUE 0x0000BBAA
  15. #define COLOR_LIGHTBLUE 0x33CCFFAA
  16. #define COLOR_ORANGE 0xFF9900AA
  17. #define COLOR_RED 0xAA3333AA
  18. #define COLOR_LIME 0x10F441AA
  19. #define COLOR_MAGENTA 0xFF00FFFF
  20. #define COLOR_NAVY 0x000080AA
  21. #define COLOR_AQUA 0xF0F8FFAA
  22. #define COLOR_CRIMSON 0xDC143CAA
  23. #define COLOR_FLBLUE 0x6495EDAA
  24. #define COLOR_BISQUE 0xFFE4C4AA
  25. #define COLOR_BLACK 0x000000AA
  26. #define COLOR_CHARTREUSE 0x7FFF00AA
  27. #define COLOR_BROWN 0XA52A2AAA
  28. #define COLOR_CORAL 0xFF7F50AA
  29. #define COLOR_GOLD 0xB8860BAA
  30. #define COLOR_GREENYELLOW 0xADFF2FAA
  31. #define COLOR_INDIGO 0x4B00B0AA
  32. #define COLOR_IVORY 0xFFFF82AA
  33. #define COLOR_LAWNGREEN 0x7CFC00AA
  34. #define COLOR_SEAGREEN 0x20B2AAAA
  35. #define COLOR_LIMEGREEN 0x32CD32AA
  36. #define COLOR_MIDNIGHTBLUE 0X191970AA
  37. #define COLOR_MAROON 0x800000AA
  38. #define COLOR_OLIVE 0x808000AA
  39. #define COLOR_ORANGERED 0xFF4500AA
  40. #define COLOR_PINK 0xFFC0CBAA
  41. #define COLOR_SPRINGGREEN 0x00FF7FAA
  42. #define COLOR_TOMATO 0xFF6347AA
  43. #define COLOR_YELLOWGREEN 0x9ACD32AA
  44. #define COLOR_MEDIUMAQUA 0x83BFBFAA
  45. #define COLOR_MEDIUMMAGENTA 0x8B008BAA
  46.  
  47. #include <a_samp>
  48. #include <zcmd>
  49. #include <sscanf2>
  50.  
  51. #if defined FILTERSCRIPT
  52.  
  53. enum PlayerInfo
  54. {
  55. isMuted,
  56. isJailed,
  57. }
  58.  
  59. new Info[MAX_PLAYERS][PlayerInfo];
  60.  
  61. public OnFilterScriptInit()
  62. {
  63. print("\n--------------------------------------");
  64. print(" ESSENTIALS LOADED CORRECTLY ");
  65. print("--------------------------------------\n");
  66. return 1;
  67. }
  68.  
  69. public OnFilterScriptExit()
  70. {
  71. return 1;
  72. }
  73.  
  74. #endif
  75.  
  76. public OnPlayerRequestClass(playerid, classid)
  77. {
  78. return 1;
  79. }
  80.  
  81. public OnPlayerConnect(playerid)
  82. {
  83. Info[playerid][isMuted] = 0;
  84. Info[playerid][isJailed] = 0;
  85. return 1;
  86. }
  87.  
  88. public OnPlayerDisconnect(playerid, reason)
  89. {
  90. return 1;
  91. }
  92.  
  93. public OnPlayerSpawn(playerid)
  94. {
  95. return 1;
  96. }
  97.  
  98. public OnPlayerDeath(playerid, killerid, reason)
  99. {
  100. return 1;
  101. }
  102.  
  103. public OnVehicleSpawn(vehicleid)
  104. {
  105. return 1;
  106. }
  107.  
  108. public OnVehicleDeath(vehicleid, killerid)
  109. {
  110. return 1;
  111. }
  112.  
  113. public OnPlayerText(playerid, text[])
  114. {
  115. return 1;
  116. }
  117.  
  118. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  119. {
  120. return 1;
  121. }
  122.  
  123. public OnPlayerExitVehicle(playerid, vehicleid)
  124. {
  125. return 1;
  126. }
  127.  
  128. public OnPlayerStateChange(playerid, newstate, oldstate)
  129. {
  130. return 1;
  131. }
  132.  
  133. public OnPlayerEnterCheckpoint(playerid)
  134. {
  135. return 1;
  136. }
  137.  
  138. public OnPlayerLeaveCheckpoint(playerid)
  139. {
  140. return 1;
  141. }
  142.  
  143. public OnPlayerEnterRaceCheckpoint(playerid)
  144. {
  145. return 1;
  146. }
  147.  
  148. public OnPlayerLeaveRaceCheckpoint(playerid)
  149. {
  150. return 1;
  151. }
  152.  
  153. public OnRconCommand(cmd[])
  154. {
  155. return 1;
  156. }
  157.  
  158. public OnPlayerRequestSpawn(playerid)
  159. {
  160. return 1;
  161. }
  162.  
  163. public OnObjectMoved(objectid)
  164. {
  165. return 1;
  166. }
  167.  
  168. public OnPlayerObjectMoved(playerid, objectid)
  169. {
  170. return 1;
  171. }
  172.  
  173. public OnPlayerPickUpPickup(playerid, pickupid)
  174. {
  175. return 1;
  176. }
  177.  
  178. public OnVehicleMod(playerid, vehicleid, componentid)
  179. {
  180. return 1;
  181. }
  182.  
  183. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  184. {
  185. return 1;
  186. }
  187.  
  188. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  189. {
  190. return 1;
  191. }
  192.  
  193. public OnPlayerSelectedMenuRow(playerid, row)
  194. {
  195. return 1;
  196. }
  197.  
  198. public OnPlayerCommandText(playerid, cmdtext[])
  199. {
  200. if(!strcmp(cmdtext, "/zZZZzzZZZZZzzDONOTREMOVETHIS", true))
  201. {
  202. SendClientMessage(playerid, 0xFFFFFFFF, "");
  203. return 1;
  204. }
  205. return 0;
  206. }
  207.  
  208. public OnPlayerExitedMenu(playerid)
  209. {
  210. return 1;
  211. }
  212.  
  213. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  214. {
  215. return 1;
  216. }
  217.  
  218. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  219. {
  220. return 1;
  221. }
  222.  
  223. public OnRconLoginAttempt(ip[], password[], success)
  224. {
  225. return 1;
  226. }
  227.  
  228. public OnPlayerUpdate(playerid)
  229. {
  230. return 1;
  231. }
  232.  
  233. public OnPlayerStreamIn(playerid, forplayerid)
  234. {
  235. return 1;
  236. }
  237.  
  238. public OnPlayerStreamOut(playerid, forplayerid)
  239. {
  240. return 1;
  241. }
  242.  
  243. public OnVehicleStreamIn(vehicleid, forplayerid)
  244. {
  245. return 1;
  246. }
  247.  
  248. public OnVehicleStreamOut(vehicleid, forplayerid)
  249. {
  250. return 1;
  251. }
  252.  
  253. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  254. {
  255. return 1;
  256. }
  257.  
  258. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  259. {
  260. return 1;
  261. }
  262.  
  263. COMMAND:mute(playerid, params[])
  264. {
  265. if(IsPlayerAdmin(playerid)) return 0; SendClientMessage(playerid, COLOR_RED, "You can not use this command!");
  266. return 1;
  267. }
  268.  
  269. COMMAND:jail(playerid, params[])
  270. {
  271. // Do something
  272. return 1;
  273. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement