Thank you, I appreciate your work.
Now the plugin doesn't work.
Code:
sm plugins list
[SM] Listing 20 plugins:
05 <Error> "AssistsToKill" (1.0) by SheriF
Errors:
AssistsToKill.smx (AssistsToKill): Error detected in plugin startup (see error logs)
from error log:
Code:
L 07/08/2020 - 14:54:37: [SM] Exception reported: Client index 0 is invalid
L 07/08/2020 - 14:54:37: [SM] Blaming: AssistsToKill.smx
L 07/08/2020 - 14:54:37: [SM] Call stack trace:
L 07/08/2020 - 14:54:37: [SM] [0] IsClientInGame
L 07/08/2020 - 14:54:37: [SM] [1] Line 34, /home/forums/content/files/3/0/0/9/1/8/182441.attach::OnPlayerDeath
Code:
L 07/08/2020 - 14:54:37: [SM] Exception reported: Client index 0 is invalid
L 07/08/2020 - 15:16:31: [SM] Blaming: AssistsToKill.smx
L 07/08/2020 - 15:16:31: [SM] Call stack trace:
L 07/08/2020 - 15:16:31: [SM] [0] IsClientInGame
L 07/08/2020 - 15:16:31: [SM] [1] Line 34, AssistsToKill.sp::OnPlayerDeath
L 07/08/2020 - 15:16:35: [SM] Exception reported: Client index 0 is invalid
Code:
L 07/08/2020 - 17:15:11: Info (map "workshop/882355656/de_dust2_css1") (file "D:\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\addons\sourcemod\logs\errors_20200708.log")
L 07/08/2020 - 17:15:11: [SM] Exception reported: Entity 1 is invalid
L 07/08/2020 - 17:15:11: [SM] Blaming: AssistsToKill.smx
L 07/08/2020 - 17:15:11: [SM] Call stack trace:
L 07/08/2020 - 17:15:11: [SM] [0] SDKHook
L 07/08/2020 - 17:15:11: [SM] [1] Line 31, AssistsToKill.sp::OnPluginStart
L 07/08/2020 - 17:15:11: [SM] Unable to load plugin "AssistsToKill.smx": Error detected in plugin startup (see error logs)