SA-MP Forums Archive
Problem kill system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem kill system (/showthread.php?tid=646831)



Problem kill system - RedGun2015 - 24.12.2017

Hello, i have a war system on my server, and every time a player dies, he gets points (killerid ++ , playerid --)
So, sometime when a player kill another player the onplayerdeath is not called i think, because the killerid doesn't get +1 point for kill and the playerid (the player that died) doesn't get -1 point.

How can I fix?

OnPlayerDeath:

https://pastebin.com/k05EYata