Advertisement
Guest User

V-Kill Spree 1.0

a guest
Oct 28th, 2011
700
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define COLOR_ORANGE 0xFFA500FF
  4.  
  5. new KillSpree[MAX_PLAYERS];
  6.  
  7. public OnFilterScriptInit()
  8. {
  9. print("\n--------------------------------------");
  10. print(" V-Kill Spree Spimds loaded...");
  11. print("--------------------------------------\n");
  12. return 1;
  13. }
  14.  
  15. public OnFilterScriptExit()
  16. {
  17. return 1;
  18. }
  19.  
  20. public OnPlayerDisconnect(playerid, reason)
  21. {
  22. KillSpree[playerid] = 0;
  23. return 1;
  24. }
  25.  
  26. public OnPlayerDeath(playerid, killerid, reason)
  27. {
  28. new string[128], pname[24];
  29. GetPlayerName(killerid, pname, sizeof(pname));
  30. KillSpree[playerid] = 0;
  31. KillSpree[killerid] ++;
  32. switch(KillSpree[killerid])
  33. {
  34. case 4:
  35. {
  36. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/4dominating.wav");
  37. format(string, sizeof(string), "*%s Dominating with %d Kills", pname, KillSpree[killerid]);
  38. SendClientMessageToAll(COLOR_ORANGE, string);
  39. }
  40. case 6:
  41. {
  42. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/6rampage.wav");
  43. format(string, sizeof(string), "*%s Rampage with %d Kills", pname, KillSpree[killerid]);
  44. SendClientMessageToAll(COLOR_ORANGE, string);
  45. }
  46. case 8:
  47. {
  48. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/8killingspree.wav");
  49. format(string, sizeof(string), "*%s Killing Spree with %d Kills", pname, KillSpree[killerid]);
  50. SendClientMessageToAll(COLOR_ORANGE, string);
  51. }
  52. case 10:
  53. {
  54. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/10monsterkill.wav");
  55. format(string, sizeof(string), "*%s Monster Kill with %d Kills", pname, KillSpree[killerid]);
  56. SendClientMessageToAll(COLOR_ORANGE, string);
  57. }
  58. case 12:
  59. {
  60. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/12unstoppable.wav");
  61. format(string, sizeof(string), "*%s Unstoppable with %d Kills", pname, KillSpree[killerid]);
  62. SendClientMessageToAll(COLOR_ORANGE, string);
  63. }
  64. case 14:
  65. {
  66. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/14ultrakill.wav");
  67. format(string, sizeof(string), "*%s Ultra Kill with %d Kills", pname, KillSpree[killerid]);
  68. SendClientMessageToAll(COLOR_ORANGE, string);
  69. }
  70. case 16:
  71. {
  72. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/16godlike.wav");
  73. format(string, sizeof(string), "*%s Godlike with %d Kills", pname, KillSpree[killerid]);
  74. SendClientMessageToAll(COLOR_ORANGE, string);
  75. }
  76. case 18:
  77. {
  78. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/18wickedsick.wav");
  79. format(string, sizeof(string), "*%s Wicked Sick with %d Kills", pname, KillSpree[killerid]);
  80. SendClientMessageToAll(COLOR_ORANGE, string);
  81. }
  82. case 20:
  83. {
  84. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/20ludacrisskill.wav");
  85. format(string, sizeof(string), "*%s Ludacriss Kill with %d Kills", pname, KillSpree[killerid]);
  86. SendClientMessageToAll(COLOR_ORANGE, string);
  87. }
  88. case 22:
  89. {
  90. PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/22holyshit.wav");
  91. format(string, sizeof(string), "*%s Holy Shit with %d Kills", pname, KillSpree[killerid]);
  92. SendClientMessageToAll(COLOR_ORANGE, string);
  93. }
  94. }
  95. return 1;
  96. }
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement