Stopping a gamemode from loading addons

When a certain gamemode loads, how would you prevent the client from loading certain or all addons?

**[G.AddCSLuaFile

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=G.AddCSLuaFile)** ?

Ah sorry, that doesn’t work because it will not be ran after the game has initialized, and It seems to only add files.

Thanks, anything else that might work?

You can’t control the loading of addons, they are automatically handled my Gmod. You would have to have a binary module.