Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Swat Server Kill Combos By AliHaider145
- No Bugs Enjoy It
- It Is Free From Bugs
- THANKS FOR DOWNLOADING
- */
- #include <a_samp>
- //=================== New Player Kills =========================================
- new PlayerKills[MAX_PLAYERS] = 0, Dominating[MAX_PLAYERS] = 0;
- public OnFilterScriptInit()
- {
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new kName[128], string[128];
- GetPlayerName(killerid, kName, sizeof(kName));
- PlayerKills[killerid] = PlayerKills[killerid] +1;
- PlayerKills[playerid] = 0;
- if(PlayerKills[killerid] == 4 && Dominating[killerid] == 1)
- {
- format(string,128, "~r~%s First Kill", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 1000);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 2)
- {
- format(string,128, "~r~%s Double Kill", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 1500);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 3)
- {
- format(string,128, "~r~%s Killing Spree", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 2000);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 4)
- {
- format(string,128, "~r~%s Mega Kill", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 2500);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 5)
- {
- format(string,128, "~r~%s Ultra Kill", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 3000);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 6)
- {
- format(string,128, "~r~%s Wicked Sick", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 3500);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 7)
- {
- format(string,128, "~r~%s Monster Kill", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 4000);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 8)
- {
- format(string,128, "~r~%s Ludicrous Kill", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 4500);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 9)
- {
- format(string,128, "~r~%s Is On Rampage", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 5000);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- if(PlayerKills[killerid] == 10)
- {
- format(string,128, "~r~%s 10 Kills", kName);
- GameTextForAll(string, 6000,4);
- GivePlayerMoney(killerid, 6000);
- GivePlayerMoney(playerid, -1000);
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement