Originally Posted by
maxdamage99
Hello) loaded = FS_LoadDir( "/home/server/", "mod" );
??? What this is??! say me.
It reloads your server's game directories. For example if you upload a new iwd or link a new iwd with your mod then you can use them in your server without a map restart.
You can use it also like this:
PHP Code:
path = getcvar("fs_basepath");
directory = getcvar("fs_game");
FS_LoadDir(path, directory); // Edit: manymap uses fs_homepath
Basically it rereads all files in your iwds (old and new) that are in your directory.