Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #include <zcmd>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- SendDeathMessage(killerid, playerid, reason);
- KillingSpree[killerid] ++;
- KillingSpree[playerid] = 0;
- SetPlayerScore(killerid,GetPlayerScore(killerid)+2);
- new str[256], KillerName[MAX_PLAYER_NAME];
- GetPlayerName(killerid, KillerName, sizeof(KillerName));
- if(KillingSpree[killerid] == 3)
- {
- format(str, sizeof(str), "~r~%s ~n~ 3 Killing Spree~n~ ", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6545);
- }
- if(KillingSpree[killerid] == 4)
- {
- format(str, sizeof(str), "~r~%s ~n~ 4 Killing Spree~n~, KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 5)
- {
- format(str, sizeof(str), "~r~%s ~n~ 5 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- GivePlayerWeapon(playerid, 34, 50);
- SendClientMessage(playerid, COLOR_YELLOWGREEN, "You Got A Sniper Rifle Kill Spree Bonus!
- }
- if(KillingSpree[killerid] == 6)
- {
- format(str, sizeof(str), "~r~%s ~n~ 6 Killing Spree~n~, KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 7)
- {
- format(str, sizeof(str), "~r~%s ~n~ 7 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 8)
- {
- format(str, sizeof(str), "~r~%s ~n~ 8 Killing Spree~n~, KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 9)
- {
- format(str, sizeof(str), "~r~%s ~n~ 9 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- GivePlayerWeapon(playerid, 31, 50);
- SendClientMessage(playerid, COLOR_YELLOWGREEN, "You Got A M4 For Kill Spree Bonus!
- }
- if(KillingSpree[killerid] == 10)
- {
- format(str, sizeof(str), "~r~%s ~n~ 10 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 11)
- {
- format(str, sizeof(str), "~r~%s ~n~ 11 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 12)
- {
- format(str, sizeof(str), "~r~%s ~n~ 12 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 13)
- {
- format(str, sizeof(str), "~r~%s ~n~ 13 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- }
- if(KillingSpree[killerid] == 14)
- {
- format(str, sizeof(str), "~r~%s ~n~ 14 Killing Spree~n~", KillerName);
- GameTextForAll(str, 5000, 5);
- GivePlayerMoney(playerid, 6345);
- GivePlayerWeapon(playerid, 27, 150);
- SendClientMessage(playerid, COLOR_YELLOWGREEN, "You Got A Combact Shotgun Kill Spree Bonus!
- }
- CMD:spree( playerid, params[ ] )
- {
- SendClientMessage(playerid, COLOR_YELLOWGREEN, "%{87CEFA}%s Kill Spree %s, killerid ,KillingSpree")
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- #endif
Advertisement
Add Comment
Please, Sign In to add comment