I have a script which bans players using the rcon command sm_addban. But everytime I send a rcon command it just doesn't ban also not showing on the sourcebans panel.
Here is the error in the console.
PHP Code:
L 06/19/2021 - 14:19:58: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 06/19/2021 - 14:19:58: [SM] Blaming: sbpp_main.smx
L 06/19/2021 - 14:19:58: [SM] Call stack trace:
L 06/19/2021 - 14:19:58: [SM] [0] SQL_TQuery
L 06/19/2021 - 14:19:58: [SM] [1] Line 686, .\sbpp_main.sp::CommandAddBan