[Include] OnPlayerFakeKill.inc
#10

Quote:
Originally Posted by Yashas
View Post
Better Hook Names that won't conflict with other includes
...
Thanks for the feedback, I have fixed most of the important issues. Also, regarding calling OnPlayerDeath only when it's a legit kill, I noted somewhere in the thread it may appear in future versions.

Quote:
Originally Posted by Ralfie
View Post
Also this will fail hard, really hard. Sometimes (and due to unknown reasons) OnPlayerDeath gets called while OnPlayerTake/GiveDamage never get called. For example, heli blading or car ramming on < 2 HP. So basically all you can do at this point is, when the killer haven't gave damage, is to ignore the kill.
You can customize OnPlayerFakeKill to your liking and omit certain reasons, you can also check if they were tabbed within the last minute or whatever.
Reply


Messages In This Thread
OnPlayerFakeKill.inc - by Abagail - 22.07.2015, 03:09
Re: OnPlayerFakeKill.inc - by DarkLored - 22.07.2015, 03:14
Re: OnPlayerFakeKill.inc - by SickAttack - 22.07.2015, 03:46
Re: OnPlayerFakeKill.inc - by Abagail - 22.07.2015, 04:25
Re: OnPlayerFakeKill.inc - by Yashas - 22.07.2015, 05:51
Re: OnPlayerFakeKill.inc - by Evocator - 22.07.2015, 07:13
Re: OnPlayerFakeKill.inc - by amirab - 22.07.2015, 10:58
Re: OnPlayerFakeKill.inc - by Tamer - 22.07.2015, 12:58
Re: OnPlayerFakeKill.inc - by Lordzy - 22.07.2015, 13:07
Re: OnPlayerFakeKill.inc - by Abagail - 22.07.2015, 15:16

Forum Jump:


Users browsing this thread: 1 Guest(s)