Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //CREDITS:: KillStreak Functions Made by [FU]Victious (BANNED). Death Machine Stuff made by Postalityjr. Merged by Postalityjr and Ajam (release on 2012 )
- #include <a_samp>
- #include <zcmd>
- #define YELLOW 0xF2FF00AA
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Death Machine KillStreak By Kross");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- SetPVarInt(killerid,"KillStreak",GetPVarInt(killerid,"KillStreak") + 1);
- SetPVarInt(playerid, "KillStreak", 0);
- if(GetPVarInt(killerid,"KillStreak") >= 11)
- {
- GameTextForPlayer(killerid,"~r~11 Kill Streak! Type /DeathMachine to use your KillStreak!",5000,3);
- return 1;
- }
- return 1;
- }
- CMD:deathmachine(playerid,params[])
- {
- if(GetPVarInt(playerid,"KillStreak") >= 11)
- {
- GivePlayerWeapon(playerid,38,250);
- SetPVarInt(playerid,"KillStreak",0);
- //return 1;
- }
- else
- if(GetPVarInt(playerid,"KillStreak") <= 10)
- {
- GameTextForPlayer(playerid,"~r~You Don't have a Death Machine",5000,3);
- }
- return 1;
- }
- CMD:deathmachineadmin(playerid,params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- GivePlayerWeapon(playerid,38,250);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement