[CSS] Don't Shoot Knife - works on GunGame
2 Attachment(s)
Description:
Suicides a player who shoots, then knifes another player, before either player has died. Suicide is accentuated with a lightning bolt explosion and thunder to get the point across. Player will then see Centered Hint text stating "Dont' shoot knife!". The victim will not receive any knife damage if the attacker had shot them. Grenades attacks are ignored. Players with no gun are not smited. On Gun Game, this prevents players from getting easy upgrades when knifepro is enabled. In this case, the attacker will level down. Servers using this mod: GameTracker sm_shootknife_version Installation Notice: This plugin requires sdkhooks. I have attached a precompiled smx. The forum compiler will not work. Download SDK Hooks here: [EXTENSION] SDK Hooks 2.0 (Updated 2011-04/15) Background: This pluging was inspired by complaints on I.P.S. Admin Smite by Hipster - http://forums.alliedmods.net/showthread.php?t=118534 Files: cstrike/addons/sourcemod/plugins/sm_shootknife.smx Changelog: 0.4 <-> 2011 - 02/03 LumiStance Modify code to only smite players with guns 0.3 <-> 2010 - 08/29 LumiStance Modify code to ignore non gun damage Add code to forgive shots at round start 0.2 <-> 2010 - 08/27 LumiStance Add PrintToChat's to inform all players about plugin 0.1 <-> 2010 - 08/26 LumiStance Add hook for OnTakeDamage - Note damagetype is not useful Add Smite Debug |
Re: [CSS] Don't Shoot Knife - works on GunGame
Updated to v0.3
Modify code to ignore non gun damage Add code to forgive shots at round start |
Re: [CSS] Don't Shoot Knife - works on GunGame
if the killer shoot in two and kill one, and then try to kill each other on the knife, he will be killed?
|
Re: [CSS] Don't Shoot Knife - works on GunGame
Quote:
|
Re: [CSS] Don't Shoot Knife - works on GunGame
I've not yet tested this, going to do that in a few hours, but kudos for making this! People who do this on our servers piss me off beyond reason.
Will let you know if there's any trouble. |
Re: [CSS] Don't Shoot Knife - works on GunGame
Quote:
|
Re: [CSS] Don't Shoot Knife - works on GunGame
Quote:
You sure you installed it correctly, high enough source- and metamod version, sdkhooks? Does it show up when you do a plugin list? |
Re: [CSS] Don't Shoot Knife - works on GunGame
Quote:
Imagine, you've just shot a bunch of players, leveled up, and now are left with just the knife. This corner case also applies to reaching the knife level. I will be adding an exception for players that only have knife. |
Re: [CSS] Don't Shoot Knife - works on GunGame
Quote:
Anyways, thanks for making this! |
Re: [CSS] Don't Shoot Knife - works on GunGame
Quote:
the plugin is correctly installed and working, just not good to use when the knife elite is on... |
All times are GMT -4. The time now is 10:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.