It's really easy.
Just put this script somewhere in your init()
This will prevent people from having to redownload the mod every time they join another server, because admins are not free to change the mod folder name anymore.
If you use this give me, Pozzuh, credits.
Just put this script somewhere in your init()
Code:
if(tolower(getdvar("fs_game")) != "mods/mp_modname") //the mod name you need to put here should always be lower case
{
iprintlnbold("Wrong mod folder name, it should be: mp_MODNAME");
iprintlnbold("Change the mod name or you won't be able to play.");
wait 5;
exitlevel(false);
}
This will prevent people from having to redownload the mod every time they join another server, because admins are not free to change the mod folder name anymore.
If you use this give me, Pozzuh, credits.