Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

bug onplayerdeath

$
0
0
I get this bug weird sometimes. When a player kill another player, he dies but the onplayerdeath is executed with killerid = 65535 (killed by no one, suicide probably) but he is killed by another player.

Code:

[21:49:39] [debug] OnPlayerDeath(1, 0, 24)
[21:49:39] DEATH: NEGATiWE[ST] was killed by YASHIN with gun 24
[21:49:47] [debug] OnPlayerDeath(1, 65535, 255)
[21:49:58] [debug] OnPlayerDeath(1, 0, 24)
[21:49:58] DEATH: NEGATiWE[ST] was killed by YASHIN with gun 24
[21:50:07] [debug] OnPlayerDeath(1, 0, 24)
[21:50:07] DEATH: NEGATiWE[ST] was killed by YASHIN with gun 24
[21:50:15] [debug] OnPlayerDeath(1, 0, 24)
[21:50:15] DEATH: NEGATiWE[ST] was killed by YASHIN with gun 24

The player (Yashin) killed me but in onplayerdeath show killerid = 65535.

Its happend sometimes, not always. But it's really annoying..

If someone can help me...please post here.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>