mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +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
|
remove_user_flags(0,read_flags("z")) // Remove 'user' flag from server rights
|
||||||
|
|
||||||
new configsDir[128]
|
new configsDir[64]
|
||||||
get_configsdir(configsDir, 127)
|
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
|
||||||
new users_ini_file[128]
|
format(configsDir, 63, "%s/users.ini", configsDir)
|
||||||
format(users_ini_file, 127, "%s/users.ini", configsDir)
|
loadSettings(configsDir) // Load admins accounts
|
||||||
loadSettings("addons/amxx/configs/users.ini") // Load admins accounts
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loadSettings(szFilename[])
|
loadSettings(szFilename[])
|
||||||
|
Loading…
Reference in New Issue
Block a user