I could be wrong about this, but I noticed you put this into the code:
PHP Code:
public Extension __ext_tf2 = {
name = "TF2 Tools", //This allows any game to load without "TF2 Tools Extension is required" error on plugin startup
file = "game.tf2.ext", //since the other games doesn't use the tf2 natives and the extension is automatically loaded
required = 0 //when server is running team fortress 2
};
public Extension __ext_cstrike = {
name = "cstrike",
file = "games/game.cstrike.ext",
required = 0
};
I'm pretty sure you can just undefine the requirement of the extensions when you define the includes. Example:
PHP Code:
#undef REQUIRE_EXTENSIONS
#include <tf2_stocks>
#include <cstrike>