Advertisement
Guest User

windrush kill Streak

a guest
Sep 18th, 2012
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.18 KB | None | 0 0
  1. /*
  2. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  3. This FilterScript Created By Windrush
  4. Simple Kill Streak With Sound
  5. Windrush Only a kid 12 years old
  6. Looking For Pro Scripters
  7. If You Want Remove This Credits
  8. Remove It
  9. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  10. */
  11. #include <a_samp>
  12. //#include <a_players>
  13.  
  14. //=============================COLOURS==========================================
  15. #define COLOR_RED 0xFF0000AA
  16. #define COLOR_GREY 0xAFAFAFAA
  17. #define COLOR_GREEN 0x33AA33AA
  18. #define COLOR_BRIGHTRED 0xFF0000AA
  19. #define COLOR_YELLOW 0xFFFF00AA
  20. #define COLOR_PINK 0xFF66FFAA
  21. #define COLOR_BLUE 0x3A47DEFF
  22. #define COLOR_TAN 0xBDB76BAA
  23. #define COLOR_PURPLE 0x800080AA
  24. #define COLOR_WHITE 0xFFFFFFAA
  25. #define COLOR_LIGHTBLUE 0x33CCFFAA
  26. #define COLOR_ORANGE 0xFF9900AA
  27. #define COLOR_INDIGO 0x4B00B0AA
  28. #define COLOR_BLACK 0x00000000
  29. #define COLOR_DARKGREY 0x696969FF
  30. #define C_CYAN 0x00FFFFFF
  31. #define C_LBLUE 0x33CCFFFF
  32. //==============================================================================
  33.  
  34. new PlayerTotalKills[MAX_PLAYERS] = 20;
  35. new string[50];
  36.  
  37.  
  38. public OnPlayerDeath(playerid, killerid, reason)
  39. {
  40. new Name[128];
  41. GetPlayerName(killerid, Name, sizeof(Name));
  42. PlayerTotalKills[killerid] = PlayerTotalKills[killerid] +1;
  43. PlayerTotalKills[playerid] = 0;
  44.  
  45. if(PlayerTotalKills[killerid] == 1)
  46. {
  47. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351113.mp3");
  48. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~R~FIRST BLOOD", Name);
  49. GameTextForAll(string, 6000,3);
  50.  
  51. SendClientMessage(killerid, C_LBLUE, "You get $1000 and +1 score!");
  52. GivePlayerMoney(playerid, 1000);
  53. GivePlayerScore(playerid, 1);
  54. return 1;
  55. }
  56.  
  57. if(PlayerTotalKills[killerid] == 2)
  58. {
  59. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351108.mp3");
  60. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~B~DOUBLE KILL.", Name);
  61. GameTextForAll(string, 6000,3);
  62.  
  63. SendClientMessage(killerid, C_LBLUE, "You get $1200 and +1 score! (killing spree bonus)");
  64. GivePlayerMoney(playerid, 1200);
  65. GivePlayerScore(playerid, 1);
  66. return 1;
  67. }
  68.  
  69. if(PlayerTotalKills[killerid] == 3)
  70. {
  71. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351115.mp3");
  72. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew~g~TRIPLE KILL", Name);
  73. GameTextForAll(string, 6000,3);
  74.  
  75. SendClientMessage(killerid, C_LBLUE, "You get $1400 and +1 score! (killing spree bonus)");
  76. GivePlayerMoney(playerid, 1400);
  77. GivePlayerScore(playerid, 1);
  78. return 1;
  79. }
  80.  
  81. if(PlayerTotalKills[killerid] == 4)
  82. {
  83. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351114.mp3");
  84. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~IS ~p~DOMINATING", Name);
  85. GameTextForAll(string, 6000,3);
  86.  
  87. SendClientMessage(killerid, C_LBLUE, "You get $1600 and +1 score! (killing spree bonus)");
  88. GivePlayerMoney(playerid, 1600);
  89. GivePlayerScore(playerid, 1);
  90. return 1;
  91. }
  92.  
  93. if(PlayerTotalKills[killerid] == 5)
  94. {
  95. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351111.mp3");
  96. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ has a ~P~MEGA KILL", Name);
  97. GameTextForAll(string, 6000,3);
  98.  
  99. SendClientMessage(killerid, C_LBLUE, "You get $1800 and +1 score! (killing spree bonus)");
  100. GivePlayerMoney(playerid, 1800);
  101. GivePlayerScore(playerid, 1);
  102. return 1;
  103. }
  104.  
  105. if(PlayerTotalKills[killerid] == 6)
  106. {
  107. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351116.mp3");
  108. format(string, sizeof(string), "~~N~~N~~N~~N~~r~%s ~W~ Is ~P~UNSTOPPABLE", Name);
  109. GameTextForAll(string, 6000,3);
  110.  
  111. SendClientMessage(killerid, C_LBLUE, "You get $2000 and +1 score! (killing spree bonus)");
  112. GivePlayerMoney(playerid, 2000);
  113. GivePlayerScore(playerid, 1);
  114. return 1;
  115. }
  116.  
  117. if(PlayerTotalKills[killerid] == 7)
  118. {
  119. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351117.mp3");
  120. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ Is ~p~WICKED SICK", Name);
  121. GameTextForAll(string, 6000,3);
  122.  
  123. SendClientMessage(killerid, C_LBLUE, "You get $2200 and +1 score! (killing spree bonus)");
  124. GivePlayerMoney(playerid, 2200);
  125. GivePlayerScore(playerid, 1);
  126. return 1;
  127. }
  128.  
  129. if(PlayerTotalKills[killerid] == 8)
  130. {
  131. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351109.mp3");
  132. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ Has a ~p~MONSTERKILL", Name);
  133. GameTextForAll(string, 6000,3);
  134.  
  135. SendClientMessage(killerid, C_LBLUE, "You get $2400 and +1 score! (killing spree bonus)");
  136. GivePlayerMoney(playerid, 2400);
  137. GivePlayerScore(playerid, 1);
  138. return 1;
  139. }
  140.  
  141. if(PlayerTotalKills[killerid] == 9)
  142. {
  143. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351119.mp3");
  144. format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ Is ~p~GODLIKE", Name);
  145. GameTextForAll(string, 6000,3);
  146.  
  147. SendClientMessage(killerid, C_LBLUE, "You get $2600 and +1 score! (killing spree bonus)");
  148. GivePlayerMoney(playerid, 2600);
  149. GivePlayerScore(playerid, 1);
  150. return 1;
  151. }
  152.  
  153. if(PlayerTotalKills[killerid] == 10)
  154. {
  155. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  156. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  157. GameTextForAll(string, 6000,3);
  158.  
  159. SendClientMessage(killerid, C_LBLUE, "You get $2800 and +2 score! (killing spree bonus)");
  160. GivePlayerMoney(playerid, 2800);
  161. GivePlayerScore(playerid, 2);
  162. return 1;
  163. }
  164.  
  165. if(PlayerTotalKills[killerid] == 11)
  166. {
  167. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  168. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  169. GameTextForAll(string, 6000,3);
  170.  
  171. SendClientMessage(killerid, C_LBLUE, "You get $3000 and +2 score! (killing spree bonus)");
  172. GivePlayerMoney(playerid, 3000);
  173. GivePlayerScore(playerid, 2);
  174. return 1;
  175. }
  176.  
  177. if(PlayerTotalKills[killerid] == 12)
  178. {
  179. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  180. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  181. GameTextForAll(string, 6000,3);
  182.  
  183. SendClientMessage(killerid, C_LBLUE, "You get $3200 and +2 score! (killing spree bonus)");
  184. GivePlayerMoney(playerid, 3200);
  185. GivePlayerScore(playerid, 2);
  186. return 1;
  187. }
  188.  
  189. if(PlayerTotalKills[killerid] == 13)
  190. {
  191. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  192. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  193. GameTextForAll(string, 6000,3);
  194.  
  195. SendClientMessage(killerid, C_LBLUE, "You get $3400 and +2 score! (killing spree bonus)");
  196. GivePlayerMoney(playerid, 3400);
  197. GivePlayerScore(playerid, 2);
  198. return 1;
  199. }
  200.  
  201. if(PlayerTotalKills[killerid] == 14)
  202. {
  203. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  204. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  205. GameTextForAll(string, 6000,3);
  206.  
  207. SendClientMessage(killerid, C_LBLUE, "You get $3600 and +2 score! (killing spree bonus)");
  208. GivePlayerMoney(playerid, 3600);
  209. GivePlayerScore(playerid, 2);
  210. return 1;
  211. }
  212.  
  213. if(PlayerTotalKills[killerid] == 15)
  214. {
  215. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  216. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  217. GameTextForAll(string, 6000,3);
  218.  
  219. SendClientMessage(killerid, C_LBLUE, "You get $3800 and +2 score! (killing spree bonus)");
  220. GivePlayerMoney(playerid, 3800);
  221. GivePlayerScore(playerid, 2);
  222. return 1;
  223. }
  224.  
  225. if(PlayerTotalKills[killerid] == 16)
  226. {
  227. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  228. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  229. GameTextForAll(string, 6000,3);
  230.  
  231. SendClientMessage(killerid, C_LBLUE, "$4000 and +2 score! (killing spree bonus)");
  232. GivePlayerMoney(playerid, 4000);
  233. GivePlayerScore(playerid, 2);
  234. return 1;
  235. }
  236.  
  237. if(PlayerTotalKills[killerid] == 17)
  238. {
  239. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  240. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  241. GameTextForAll(string, 6000,3);
  242.  
  243. SendClientMessage(killerid, C_LBLUE, "You get $4500 and +2 score! (killing spree bonus)");
  244. GivePlayerMoney(playerid, 4500);
  245. GivePlayerScore(playerid, 2);
  246. return 1;
  247. }
  248.  
  249.  
  250. if(PlayerTotalKills[killerid] == 18)
  251. {
  252. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  253. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  254. GameTextForAll(string, 6000,3);
  255.  
  256. SendClientMessage(killerid, C_LBLUE, "You get $5000 and +2 score! (killing spree bonus)");
  257. GivePlayerMoney(playerid, 5000);
  258. GivePlayerScore(playerid, 2);
  259. return 1;
  260. }
  261.  
  262. if(PlayerTotalKills[killerid] == 19)
  263. {
  264. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  265. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  266. GameTextForAll(string, 6000,3);
  267.  
  268. SendClientMessage(killerid, C_LBLUE, "You get $7500 and +3 score! (killing spree bonus)");
  269. GivePlayerMoney(playerid, 7500);
  270. GivePlayerScore(playerid, 3);
  271. return 1;
  272. }
  273.  
  274. if(PlayerTotalKills[killerid] >= 20)
  275. {
  276. PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
  277. format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
  278. GameTextForAll(string, 6000,3);
  279.  
  280. SendClientMessage(killerid, C_LBLUE, "You get $10,000 and +5 score! (killing spree bonus)");
  281. GivePlayerMoney(playerid, 10000);
  282. GivePlayerScore(playerid, 5);
  283. return 1;
  284. }
  285. return 1;
  286. }
  287.  
  288. stock GivePlayerScore(playerid, score)
  289. {
  290. SetPlayerScore(playerid, GetPlayerScore(playerid)+score);
  291. return 1;
  292. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement