I'm working on a project with some other people, and I need a .dll to make it work. There's already a basic function for what I want, I just need it ported over from Garry's Mod into a extension for SourceMod for Left 4 Dead 2. I can compile it, I just lack the programing experience to write the actual code. Here's the function:

Code:
LUA_FUNCTION(SetTableSize)
{
	ILuaInterface *g = gMod->m_lua;

	g->CheckType(1, GLua::TYPE_STRING);
	g->CheckType(2, GLua::TYPE_NUMBER);

	INetworkStringTable *netTbl = networkstringtable->FindTable(g->GetString(1));

	if(netTbl)
	{
		netTbl->c = g->GetInteger(2);
		netTbl->d = Q_log2(netTbl->c);
	}

	return 0;
}
And here's the Wiki page about building extensions for SourceMod:
http://wiki.alliedmods.net/Writing_Extensions

There's also a list of functions for SourceMod, but there isn't one for the basic HL2SDK.
http://docs.sourcemod.net/dox/

I know that this isn't really the place to be posting this, but I really need this done, and no one's responded to my request on the actual forums.