F
FBI
Плагин работает, но выдает кучу ошибок в логах, игра CS:GO
Помогите исправить ошибку
Вот сам плагин
SourceMod error session started
L 02/07/2017 - 20:18:13: Info (map "aim_usp-s_pointek") (file "errors_20170207.log")
L 02/07/2017 - 20:18:13: [SM] Exception reported: Client index 116 is invalid
L 02/07/2017 - 20:18:13: [SM] Blaming: only_headshot.smx
L 02/07/2017 - 20:18:13: [SM] Call stack trace:
L 02/07/2017 - 20:18:13: [SM] [0] GetClientWeapon
L 02/07/2017 - 20:18:13: [SM] [1] Line 121, C:\Users\Admin\Documents\Desktop\scripting\only_headshot.sp::OnTraceAttack
L 02/07/2017 - 20:18:13: [SM] Exception reported: Client index 116 is invalid
L 02/07/2017 - 20:18:13: [SM] Blaming: only_headshot.smx
L 02/07/2017 - 20:18:13: [SM] Call stack trace:
L 02/07/2017 - 20:18:13: [SM] [0] GetClientWeapon
L 02/07/2017 - 20:18:13: [SM] [1] Line 121, C:\Users\Admin\Documents\Desktop\scripting\only_headshot.sp::OnTraceAttack
L 02/07/2017 - 20:18:13: Info (map "aim_usp-s_pointek") (file "errors_20170207.log")
L 02/07/2017 - 20:18:13: [SM] Exception reported: Client index 116 is invalid
L 02/07/2017 - 20:18:13: [SM] Blaming: only_headshot.smx
L 02/07/2017 - 20:18:13: [SM] Call stack trace:
L 02/07/2017 - 20:18:13: [SM] [0] GetClientWeapon
L 02/07/2017 - 20:18:13: [SM] [1] Line 121, C:\Users\Admin\Documents\Desktop\scripting\only_headshot.sp::OnTraceAttack
L 02/07/2017 - 20:18:13: [SM] Exception reported: Client index 116 is invalid
L 02/07/2017 - 20:18:13: [SM] Blaming: only_headshot.smx
L 02/07/2017 - 20:18:13: [SM] Call stack trace:
L 02/07/2017 - 20:18:13: [SM] [0] GetClientWeapon
L 02/07/2017 - 20:18:13: [SM] [1] Line 121, C:\Users\Admin\Documents\Desktop\scripting\only_headshot.sp::OnTraceAttack
Вот сам плагин