Advertisement
Guest User

Untitled

a guest
Aug 17th, 2010
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.09 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. #define COLOR_LOCALMSG 0xEC5413AA
  7. #define COLOR_ADMINCMD 0xF97804FF
  8. #define COLOR_ADMINDUTY 0x007E96F6
  9. #define COLOR_NOTLOGGED 0x00000000
  10. #define COLOR_GRAD1 0xB4B5B7FF
  11. #define COLOR_GRAD2 0xBFC0C2FF
  12. #define COLOR_MONEYBAR 0x005800FF
  13. #define COLOR_GRAD3 0xCBCCCEFF
  14. #define COLOR_GRAD4 0xD8D8D8FF
  15. #define COLOR_GRAD5 0xE3E3E3FF
  16. #define COLOR_GRAD6 0xF0F0F0FF
  17. #define COLOR_GREY 0xAFAFAFAA
  18. #define COLOR_GREEN 0x33AA33AA
  19. #define COLOR_RED 0xA10000AA
  20. #define COLOR_DARKRED 0xCD000000
  21. #define COLOR_ANTICHEAT 0xAA3333AA
  22. #define COLOR_LIGHTRED 0xFF6347AA
  23. #define COLOR_LIGHTBLUE 0x33CCFFAA
  24. #define COLOR_LIGHTGREEN 0x9ACD32AA
  25. #define COLOR_LIGHTRED 0xFF6347AA
  26. #define COLOR_LIGHTBLUE 0x33CCFFAA
  27. #define COLOR_LIGHTBLUE2 0x0080FFAA
  28. #define COLOR_LIGHTGREEN 0x9ACD32AA
  29. #define COLOR_LIGHTORANGE 0xFF8000FF
  30. #define COLOR_DARKBROWN 0xB36C42FF
  31. #define COLOR_MEDIUMBLUE 0x1ED5C7FF
  32. #define COLOR_LIGHTYELLOW 0xE0E377AA
  33. #define COLOR_LIGHTYELLOW2 0xE0EA64AA
  34. #define COLOR_LIGHTYELLOW3 0xFF6347AA
  35. #define COLOR_DARKPURPLE 0x5F56F8AA
  36. #define COLOR_YELLOW 0xFFFF00AA
  37. #define COLOR_YELLOW2 0xF5DEB3AA
  38. #define COLOR_WHITE 0xFFFFFFAA
  39. #define COLOR_FADE1 0xE6E6E6E6
  40. #define COLOR_FADE2 0xC8C8C8C8
  41. #define COLOR_FADE3 0xAAAAAAAA
  42. #define COLOR_FADE4 0x8C8C8C8C
  43. #define COLOR_FADE5 0x6E6E6E6E
  44. #define COLOR_PURPLE 0xC2A2DAAA
  45. #define COLOR_DBLUE 0x2641FEAA
  46. #define COLOR_ALLDEPT 0xFF8282AA
  47. #define COLOR_NEWS 0xFFA500AA
  48. #define COLOR_OOC 0xE0FFFFAA
  49. #define COLOR_NEWOOC 0x0080FFAA
  50. #if defined FILTERSCRIPT
  51.  
  52. public OnFilterScriptInit()
  53. {
  54. print("\n--------------------------------------");
  55. print(" C-Cheats");
  56. print(" Made By");
  57. print(" Chrillzen");
  58. print("--------------------------------------\n");
  59. return 1;
  60. }
  61.  
  62. public OnFilterScriptExit()
  63. {
  64. return 1;
  65. }
  66.  
  67. #else
  68.  
  69. main()
  70. {
  71. print("\n----------------------------------");
  72. print(" Blank Gamemode by your name here");
  73. print("----------------------------------\n");
  74. }
  75.  
  76. #endif
  77.  
  78. public OnGameModeInit()
  79. {
  80. return 1;
  81. }
  82.  
  83. public OnGameModeExit()
  84. {
  85. return 1;
  86. }
  87.  
  88. public OnPlayerRequestClass(playerid, classid)
  89. {
  90. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  91. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  92. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  93. return 1;
  94. }
  95.  
  96. public OnPlayerConnect(playerid)
  97. {
  98. return 1;
  99. }
  100.  
  101. public OnPlayerDisconnect(playerid, reason)
  102. {
  103. return 1;
  104. }
  105.  
  106. public OnPlayerSpawn(playerid)
  107. {
  108. return 1;
  109. }
  110.  
  111. public OnPlayerDeath(playerid, killerid, reason)
  112. {
  113. return 1;
  114. }
  115.  
  116. public OnVehicleSpawn(vehicleid)
  117. {
  118. return 1;
  119. }
  120.  
  121. public OnVehicleDeath(vehicleid, killerid)
  122. {
  123. return 1;
  124. }
  125.  
  126. public OnPlayerText(playerid, text[])
  127. {
  128. return 1;
  129. }
  130.  
  131. public OnPlayerCommandText(playerid, cmdtext[])
  132. {
  133. if (strcmp("/chelp", cmdtext, true, 6) == 0)
  134. {
  135. SendClientMessage(playerid, COLOR_YELLOW,"---------[Cheat Help]----------");
  136. SendClientMessage(playerid, COLOR_WHITE,"/hesoyam /weapons1 /weapons2 /weapons3 /suicide /parachute");
  137. return 1;
  138. }
  139. if (strcmp("/hesoyam", cmdtext, true, 8) == 0)
  140. {
  141. GivePlayerMoney(playerid,250000);
  142. SetPlayerHealth(playerid,100);
  143. SendClientMessage(playerid, COLOR_GREEN,"You received armor,health and money.");
  144. return 1;
  145. }
  146. if (strcmp("/weapons1", cmdtext, true, 9) == 0)
  147. {
  148. GivePlayerWeapon(playerid, 1, 1);
  149. GivePlayerWeapon(playerid, 5, 1);
  150. GivePlayerWeapon(playerid, 22, 100000);
  151. GivePlayerWeapon(playerid, 25, 100000);
  152. GivePlayerWeapon(playerid, 28, 100000);
  153. GivePlayerWeapon(playerid, 30, 100000);
  154. GivePlayerWeapon(playerid, 33, 100000);
  155. GivePlayerWeapon(playerid, 41, 100000);
  156. GivePlayerWeapon(playerid, 18, 100000);
  157. SendClientMessage(playerid, COLOR_GREEN,"You received a pack of weapons.");
  158. return 1;
  159. }
  160. if (strcmp("/weapons2", cmdtext, true, 9) == 0)
  161. {
  162. GivePlayerWeapon(playerid, 4, 1);
  163. GivePlayerWeapon(playerid, 24, 100000);
  164. GivePlayerWeapon(playerid, 26, 100000);
  165. GivePlayerWeapon(playerid, 32, 100000);
  166. GivePlayerWeapon(playerid, 31, 100000);
  167. GivePlayerWeapon(playerid, 34, 100000);
  168. GivePlayerWeapon(playerid, 37, 100000);
  169. GivePlayerWeapon(playerid, 16, 100000);
  170. GivePlayerWeapon(playerid, 42, 100000);
  171. SendClientMessage(playerid, COLOR_GREEN,"You received a pack of weapons.");
  172. return 1;
  173. }
  174. if (strcmp("/weapons3", cmdtext, true, 9) == 0)
  175. {
  176. GivePlayerWeapon(playerid, 9, 1);
  177. GivePlayerWeapon(playerid, 23, 100000);
  178. GivePlayerWeapon(playerid, 27, 100000);
  179. GivePlayerWeapon(playerid, 29, 100000);
  180. GivePlayerWeapon(playerid, 31, 100000);
  181. GivePlayerWeapon(playerid, 34, 100000);
  182. GivePlayerWeapon(playerid, 37, 100000);
  183. GivePlayerWeapon(playerid, 39, 10);
  184. SendClientMessage(playerid, COLOR_GREEN,"You received a pack of weapons.");
  185. return 1;
  186. }
  187. if (strcmp("/suicide", cmdtext, true, 8) == 0)
  188. {
  189. SetPlayerHealth(playerid,0);
  190. SendClientMessage(playerid, COLOR_GREEN,"You received a pack of weapons.");
  191. return 1;
  192. }
  193. if (strcmp("/parachute", cmdtext, true, 5) == 0)
  194. {
  195. GivePlayerWeapon(playerid, 46, 1);
  196. SendClientMessage(playerid, COLOR_GREEN,"You received a pack of weapons.");
  197. return 1;
  198. }
  199. return 0;
  200. }
  201.  
  202. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  203. {
  204. return 1;
  205. }
  206.  
  207. public OnPlayerExitVehicle(playerid, vehicleid)
  208. {
  209. return 1;
  210. }
  211.  
  212. public OnPlayerStateChange(playerid, newstate, oldstate)
  213. {
  214. return 1;
  215. }
  216.  
  217. public OnPlayerEnterCheckpoint(playerid)
  218. {
  219. return 1;
  220. }
  221.  
  222. public OnPlayerLeaveCheckpoint(playerid)
  223. {
  224. return 1;
  225. }
  226.  
  227. public OnPlayerEnterRaceCheckpoint(playerid)
  228. {
  229. return 1;
  230. }
  231.  
  232. public OnPlayerLeaveRaceCheckpoint(playerid)
  233. {
  234. return 1;
  235. }
  236.  
  237. public OnRconCommand(cmd[])
  238. {
  239. return 1;
  240. }
  241.  
  242. public OnPlayerRequestSpawn(playerid)
  243. {
  244. return 1;
  245. }
  246.  
  247. public OnObjectMoved(objectid)
  248. {
  249. return 1;
  250. }
  251.  
  252. public OnPlayerObjectMoved(playerid, objectid)
  253. {
  254. return 1;
  255. }
  256.  
  257. public OnPlayerPickUpPickup(playerid, pickupid)
  258. {
  259. return 1;
  260. }
  261.  
  262. public OnVehicleMod(playerid, vehicleid, componentid)
  263. {
  264. return 1;
  265. }
  266.  
  267. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  268. {
  269. return 1;
  270. }
  271.  
  272. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  273. {
  274. return 1;
  275. }
  276.  
  277. public OnPlayerSelectedMenuRow(playerid, row)
  278. {
  279. return 1;
  280. }
  281.  
  282. public OnPlayerExitedMenu(playerid)
  283. {
  284. return 1;
  285. }
  286.  
  287. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  288. {
  289. return 1;
  290. }
  291.  
  292. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  293. {
  294. return 1;
  295. }
  296.  
  297. public OnRconLoginAttempt(ip[], password[], success)
  298. {
  299. return 1;
  300. }
  301.  
  302. public OnPlayerUpdate(playerid)
  303. {
  304. return 1;
  305. }
  306.  
  307. public OnPlayerStreamIn(playerid, forplayerid)
  308. {
  309. return 1;
  310. }
  311.  
  312. public OnPlayerStreamOut(playerid, forplayerid)
  313. {
  314. return 1;
  315. }
  316.  
  317. public OnVehicleStreamIn(vehicleid, forplayerid)
  318. {
  319. return 1;
  320. }
  321.  
  322. public OnVehicleStreamOut(vehicleid, forplayerid)
  323. {
  324. return 1;
  325. }
  326.  
  327. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  328. {
  329. return 1;
  330. }
  331.  
  332. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  333. {
  334. return 1;
  335. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement