Quote:
Originally Posted by L4D2Noob
Can I get rid of the following error?
Code:
L 03/25/2021 - 23:27:50: Error log file session closed.
L 03/25/2021 - 23:28:03: SourceMod error session started
L 03/25/2021 - 23:28:03: Info (map "$2000$") (file "/game/cstrike/addons/sourcemod/logs/errors_20210325.log")
L 03/25/2021 - 23:28:03: [SM] Exception reported: Invalid index -1 (count: 5)
L 03/25/2021 - 23:28:03: [SM] Blaming: hl_bandisconnected.smx
L 03/25/2021 - 23:28:03: [SM] Call stack trace:
L 03/25/2021 - 23:28:03: [SM] [0] ArrayList.Erase
L 03/25/2021 - 23:28:03: [SM] [1] Line 58, C:\Users\Sples\Desktop\Scripting\XD\hl_bandisconnected.sp::OnClientPostAdminCheck
L 03/25/2021 - 23:28:38: [SM] Exception reported: Invalid index -1 (count: 5)
L 03/25/2021 - 23:28:38: [SM] Blaming: hl_bandisconnected.smx
L 03/25/2021 - 23:28:38: [SM] Call stack trace:
L 03/25/2021 - 23:28:38: [SM] [0] ArrayList.Erase
L 03/25/2021 - 23:28:38: [SM] [1] Line 58, C:\Users\Sples\Desktop\Scripting\XD\hl_bandisconnected.sp::OnClientPostAdminCheck
|
This one could fix your problem. This is a modified version with an Enum built into the array. This is an untested modified version. If you have any problem with it just hit me up: Entity#8186