mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
sql cvars register by default
This commit is contained in:
parent
8cb5ad18f5
commit
aa3c8fa377
@ -76,12 +76,12 @@ public plugin_init() {
|
|||||||
|
|
||||||
#if defined USING_SQL
|
#if defined USING_SQL
|
||||||
register_srvcmd("amx_sqladmins","adminSql")
|
register_srvcmd("amx_sqladmins","adminSql")
|
||||||
|
register_cvar("amx_sql_table","admins")
|
||||||
|
#endif
|
||||||
register_cvar("amx_sql_host","127.0.0.1")
|
register_cvar("amx_sql_host","127.0.0.1")
|
||||||
register_cvar("amx_sql_user","root")
|
register_cvar("amx_sql_user","root")
|
||||||
register_cvar("amx_sql_pass","")
|
register_cvar("amx_sql_pass","")
|
||||||
register_cvar("amx_sql_db","amx")
|
register_cvar("amx_sql_db","amx")
|
||||||
register_cvar("amx_sql_table","admins")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
register_concmd("amx_reloadadmins","cmdReload",ADMIN_CFG)
|
register_concmd("amx_reloadadmins","cmdReload",ADMIN_CFG)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user