Thread
: [Solved]
[TF2] A better way to kill players
View Single Post
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
06-24-2016 , 07:11 Re: [TF2] A better way to kill
#
4
Quote:
Originally Posted by
Powerlord
The problem is that TF2 is designed to give a kill credit to the last player when a player suicides or is killed by the environment. So, even if you used an alternate method like
SDKHooks_TakeDamage
, it's probably going to give credit to the last player to do damage.
Not sure what would happen if you damage a player twice from the environment (entity 0) though.
Side note: When using SDKHooks_TakeDamage, setting the damageType to DMG_CRUSH should kill a player even when they're ubered.
Yes SDKHooks_TakeDamage gave credit to the last player that did damage. I set inflictor and attacker to clientid and used DMG_ACID. Dont think that damage type matters when it comes to giving credit for the kill.
__________________
Free hosting space!
My gamebanana profile
My plugins
luki1412
View Public Profile
Send a private message to luki1412
Find More Posts by luki1412