Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define COLOR_ORANGE 0xFFA500FF
- new KillSpree[MAX_PLAYERS];
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" V-Kill Spree Spimds loaded...");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- KillSpree[playerid] = 0;
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new string[128], pname[24];
- GetPlayerName(killerid, pname, sizeof(pname));
- KillSpree[playerid] = 0;
- KillSpree[killerid] ++;
- switch(KillSpree[killerid])
- {
- case 4:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/4dominating.wav");
- format(string, sizeof(string), "*%s Dominating with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 6:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/6rampage.wav");
- format(string, sizeof(string), "*%s Rampage with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 8:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/8killingspree.wav");
- format(string, sizeof(string), "*%s Killing Spree with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 10:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/10monsterkill.wav");
- format(string, sizeof(string), "*%s Monster Kill with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 12:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/12unstoppable.wav");
- format(string, sizeof(string), "*%s Unstoppable with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 14:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/14ultrakill.wav");
- format(string, sizeof(string), "*%s Ultra Kill with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 16:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/16godlike.wav");
- format(string, sizeof(string), "*%s Godlike with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 18:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/18wickedsick.wav");
- format(string, sizeof(string), "*%s Wicked Sick with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 20:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/20ludacrisskill.wav");
- format(string, sizeof(string), "*%s Ludacriss Kill with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- case 22:
- {
- PlayAudioStreamForPlayer(killerid, "http://cool-games.ucoz.de/cssampsounds/22holyshit.wav");
- format(string, sizeof(string), "*%s Holy Shit with %d Kills", pname, KillSpree[killerid]);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement