mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
making sure amxx_customdir and amxx_configsdir are set
This commit is contained in:
parent
64a7afa371
commit
9b551916f1
@ -235,6 +235,9 @@ int Spawn( edict_t *pent ) {
|
|||||||
get_localinfo("amxx_basedir", "addons/amxx");
|
get_localinfo("amxx_basedir", "addons/amxx");
|
||||||
get_localinfo("amxx_pluginsdir", "addons/amxx/plugins");
|
get_localinfo("amxx_pluginsdir", "addons/amxx/plugins");
|
||||||
get_localinfo("amxx_modulesdir", "addons/amxx/modules");
|
get_localinfo("amxx_modulesdir", "addons/amxx/modules");
|
||||||
|
get_localinfo("amxx_configsdir", "addons/amxx/configs");
|
||||||
|
get_localinfo("amxx_customdir", "addons/amxx/custom");
|
||||||
|
|
||||||
// ###### Load modules
|
// ###### Load modules
|
||||||
loadModules(get_localinfo("amxx_modules", "addons/amxx/modules.ini"));
|
loadModules(get_localinfo("amxx_modules", "addons/amxx/modules.ini"));
|
||||||
attachModules();
|
attachModules();
|
||||||
|
Loading…
Reference in New Issue
Block a user