Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- This FilterScript Created By Windrush
- Simple Kill Streak With Sound
- Windrush Only a kid 12 years old
- Looking For Pro Scripters
- If You Want Remove This Credits
- Remove It
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- */
- #include <a_samp>
- //#include <a_players>
- //=============================COLOURS==========================================
- #define COLOR_RED 0xFF0000AA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_BRIGHTRED 0xFF0000AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_BLUE 0x3A47DEFF
- #define COLOR_TAN 0xBDB76BAA
- #define COLOR_PURPLE 0x800080AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_ORANGE 0xFF9900AA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_BLACK 0x00000000
- #define COLOR_DARKGREY 0x696969FF
- #define C_CYAN 0x00FFFFFF
- #define C_LBLUE 0x33CCFFFF
- //==============================================================================
- new PlayerTotalKills[MAX_PLAYERS] = 20;
- new string[50];
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new Name[128];
- GetPlayerName(killerid, Name, sizeof(Name));
- PlayerTotalKills[killerid] = PlayerTotalKills[killerid] +1;
- PlayerTotalKills[playerid] = 0;
- if(PlayerTotalKills[killerid] == 1)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351113.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~R~FIRST BLOOD", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $1000 and +1 score!");
- GivePlayerMoney(playerid, 1000);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 2)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351108.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~B~DOUBLE KILL.", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $1200 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 1200);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 3)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351115.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~w~Just Drew~g~TRIPLE KILL", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $1400 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 1400);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 4)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351114.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~IS ~p~DOMINATING", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $1600 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 1600);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 5)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351111.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ has a ~P~MEGA KILL", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $1800 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 1800);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 6)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351116.mp3");
- format(string, sizeof(string), "~~N~~N~~N~~N~~r~%s ~W~ Is ~P~UNSTOPPABLE", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $2000 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 2000);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 7)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351117.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ Is ~p~WICKED SICK", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $2200 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 2200);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 8)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351109.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ Has a ~p~MONSTERKILL", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $2400 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 2400);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 9)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351119.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~%s ~W~ Is ~p~GODLIKE", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $2600 and +1 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 2600);
- GivePlayerScore(playerid, 1);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 10)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $2800 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 2800);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 11)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $3000 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 3000);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 12)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $3200 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 3200);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 13)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $3400 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 3400);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 14)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $3600 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 3600);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 15)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $3800 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 3800);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 16)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "$4000 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 4000);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 17)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $4500 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 4500);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 18)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $5000 and +2 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 5000);
- GivePlayerScore(playerid, 2);
- return 1;
- }
- if(PlayerTotalKills[killerid] == 19)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $7500 and +3 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 7500);
- GivePlayerScore(playerid, 3);
- return 1;
- }
- if(PlayerTotalKills[killerid] >= 20)
- {
- PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
- format(string, sizeof(string), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
- GameTextForAll(string, 6000,3);
- SendClientMessage(killerid, C_LBLUE, "You get $10,000 and +5 score! (killing spree bonus)");
- GivePlayerMoney(playerid, 10000);
- GivePlayerScore(playerid, 5);
- return 1;
- }
- return 1;
- }
- stock GivePlayerScore(playerid, score)
- {
- SetPlayerScore(playerid, GetPlayerScore(playerid)+score);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement