View Single Post
Author Message
Crystalline
Member
Join Date: Jul 2016
Old 08-28-2016 , 18:12   sm_addban not working. Sourcebans problem.
Reply With Quote #1

Every time I attempt to ban a player through the use of the sm_addban command, I get the following lines of errors:

L 08/28/2016 - 16:57:02: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 08/28/2016 - 16:57:02: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 08/28/2016 - 16:57:02: [SM] [0] Line 653, D:\scripting\sourcebans.sp::CommandAddBan()

Any help?

Thanks.

EDIT: This may or may not be related to the MYSQL server thingy. I think I need to add the right address to the databases.cfg file, right?

Last edited by Crystalline; 08-28-2016 at 18:22.
Crystalline is offline