Hi guys, I'm searching simple plugin
If player kill enemy player, he will get hp
I tested it
Code:
https://forums.alliedmods.net/showthread.php?p=2134601
But it spamming errors in my console
Code:
[SM] The plugin list has been refreshed and reloaded.
L 09/29/2016 - 20:29:39: [SM] Exception reported: Client index 0 is invalid
L 09/29/2016 - 20:29:39: [SM] Blaming: KillHP.smx()
L 09/29/2016 - 20:29:39: [SM] Call stack trace:
L 09/29/2016 - 20:29:39: [SM] [0] GetClientHealth
L 09/29/2016 - 20:29:39: [SM] [1] Line 36, /groups/sourcemod/upload_tmp/textGY1NEz.sp::hookPlayerDie()