Custom weapon damage problems with kill-logs?
#1

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?
Reply
#2

I tried this and.. every kill returned reason 255 and killerid 65535
Reply
#3

hmmm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)