Nice that SteamTools has this now. You could make this plugin support all mods by doing something like this:
Code:
#include <sourcemod>
#undef REQUIRE_EXTENSIONS
#include <sdkhooks>
#include <steamtools>
public CvarChanged(Handle:cvar, const String:oldVal[], const String:newVal[])
{
if (GuessSDKVersion() == SOURCE_SDK_EPISODE2VALVE)
{
// Use SteamTools
}
else
{
// Use SDK Hooks
}
}
__________________