18.11.2017, 23:10
Hello guys, I use this include for detecting players that use AirBrake
https://sampforum.blast.hk/showthread.php?tid=474196
The problem is, when a player is killed by another player, OnPlayerDeath is called twice
And if a player kill with Deagle another Player, in server logs appears something like this:
So, he killed my with deagle (reason 24) but above is 0, because of the include.
How can i solve?
https://sampforum.blast.hk/showthread.php?tid=474196
The problem is, when a player is killed by another player, OnPlayerDeath is called twice
And if a player kill with Deagle another Player, in server logs appears something like this:
Код:
[02:04:10] [debug] OnPlayerDeath(0, 1, 0) [02:04:10] DEATH: tiwerOfficial was killed by NEGATiWE with gun 0 [02:04:10] [debug] OnPlayerDeath(0, 65535, 255)
How can i solve?