Grrrrrrrrrrrrrrrrrrr, I think the current method of setting game mod through recompiling is too tricky. You could simply use auto-detecting of game mods by the plugin. Something like this:
PHP Code:
decl String:gameName[80];
GetGameFolderName(gameName, 80);
if (StrEqual(gameName, "cstrike"))
{
// stuff for CS
}
else if (StrEqual(gameName, "dod"))
{
// stuff for DoD
}
else if (StrEqual(gameName, "tf"))
{
// stuff for TF
}
else if (StrEqual(gameName, "hl2mp"))
{
// stuff for HL2
}
else
{
// stuff for all other mods,
// or you can force plugin to SetFailState here
// if other mods are not supported
}
__________________