You did not show the code where you disable the plugin.. You just showed the checks to see if a plugin should be disabled or not based off of awp being in the map name. You'd want to add something like.
PHP Code:
if (StrContains(mapname, "awp_", false) == -1)
{
ServerCommand("sm plugins unload pluginname1");
ServerCommand("sm plugins unload pluginname1");
}
else
{
ServerCommand("sm plugins load pluginname1");
ServerCommand("sm plugins load pluginname1");
}
__________________