Would it be possible to include this function in the next build of the .dll? I know that it's not a hook, per-say, but I'm getting kinda desperate, because no one's responded to my request, and it's been two days. I'm pretty sure it'll be useful.
ILuaInterface *g = gMod->m_lua;
INetworkStringTable *netTbl = networkstringtable->FindTable(g->GetString(1));
netTbl->c = g->GetInteger(2);
netTbl->d = Q_log2(netTbl->c);
I didn't write this myself, it's from the gmsv_networkstringtables dll for Garry's Mod, but it seems like it would be a easy fix.