mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
little changes
This commit is contained in:
parent
9ba597b5c1
commit
c6e265b414
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user