28.11.2013, 15:05
Quote:
You're right.
I was looking some tests I have done in the past and it seems that using your on OnPlayerDeath(Ex) callback with OnPlayerTakeDamage's help and a custom SetPlayerHealth(Ex) to control whether you kill the player, you can pass the killerid as an INVALID_PLAYER_ID. |
I don't know how the source looks of-course) But i think it would be relative easily by just (re)setting the
killer/IssuerID to INVALID_PLAYER_ID when the callback SetPlayerHealth is used.
Yeah I do understand that there are MINIMAL chances that when someone shoots someone EXACTLY before
a SetPlayerHealth, it would not count as a kill for that player. But those chances are minimal and causing less
inconvenience than the current situation.
Thanks again for confirming my solution