08.01.2013, 08:38
Hello,
I am thinking of adding a custom damage system for my script. Currently kill-logs are tracked at OnPlayerDeath and these are needed for several things, just as the whole function;
- To record kills and deaths done by players so admins can look them up
- To detect whether a kill was done by a hitman killing his target
Now if I use a custom damage system with SetPlayerHealth below OnPlayerTakeDamage, will it affect the logs?
Like if Player A shoots Player B and kills him, will it still be seen as such at OnPlayerDeath? And if no, is there any other way?
I am thinking of adding a custom damage system for my script. Currently kill-logs are tracked at OnPlayerDeath and these are needed for several things, just as the whole function;
- To record kills and deaths done by players so admins can look them up
- To detect whether a kill was done by a hitman killing his target
Now if I use a custom damage system with SetPlayerHealth below OnPlayerTakeDamage, will it affect the logs?
Like if Player A shoots Player B and kills him, will it still be seen as such at OnPlayerDeath? And if no, is there any other way?