mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed localinfo for users.ini
This commit is contained in:
parent
fd9cc48bad
commit
56de4677b8
@ -72,12 +72,11 @@ public plugin_init()
|
||||
|
||||
remove_user_flags(0,read_flags("z")) // Remove 'user' flag from server rights
|
||||
|
||||
new configsDir[128]
|
||||
get_configsdir(configsDir, 127)
|
||||
new configsDir[64]
|
||||
get_configsdir(configsDir, 63)
|
||||
server_cmd("exec %s/amxx.cfg", configsDir) // Execute main configuration file
|
||||
new users_ini_file[128]
|
||||
format(users_ini_file, 127, "%s/users.ini", configsDir)
|
||||
loadSettings("addons/amxx/configs/users.ini") // Load admins accounts
|
||||
format(configsDir, 63, "%s/users.ini", configsDir)
|
||||
loadSettings(configsDir) // Load admins accounts
|
||||
}
|
||||
|
||||
loadSettings(szFilename[])
|
||||
|
Loading…
Reference in New Issue
Block a user