more localinfos

This commit is contained in:
Pavol Marko
2004-03-24 18:59:37 +00:00
parent 98c63e8efd
commit 130f274f86
4 changed files with 11 additions and 9 deletions

View File

@ -231,9 +231,10 @@ int Spawn( edict_t *pent ) {
g_commands.registerPrefix( "sm_" );
g_commands.registerPrefix( "cm_" );
// make sure basedir is set
// make sure localinfos are set
get_localinfo("amxx_basedir", "addons/amxx");
get_localinfo("amxx_pluginsdir", "addons/amxx/plugins");
get_localinfo("amxx_modulesdir", "addons/amxx/modules");
// ###### Load modules
loadModules(get_localinfo("amxx_modules", "addons/amxx/modules.ini"));
attachModules();