little changes

This commit is contained in:
David Anderson 2005-09-11 20:35:35 +00:00
parent 9ba597b5c1
commit c6e265b414

View File

@ -33,7 +33,7 @@
*/ */
// Uncomment for SQL version // Uncomment for SQL version
#define USING_SQL //#define USING_SQL
#include <amxmodx> #include <amxmodx>
#include <amxmisc> #include <amxmisc>
@ -104,8 +104,8 @@ public plugin_init()
new configsDir[64] new configsDir[64]
get_configsdir(configsDir, 63) get_configsdir(configsDir, 63)
server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration file server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration file
#if defined USING_SQL
server_cmd("exec %s/sql.cfg", configsDir) server_cmd("exec %s/sql.cfg", configsDir)
#if defined USING_SQL
server_cmd("amx_sqladmins") server_cmd("amx_sqladmins")
#else #else
format(configsDir, 63, "%s/users.ini", configsDir) format(configsDir, 63, "%s/users.ini", configsDir)