




All these functions can't send a DLL to a client. Tried resource.AddFile () and resource.AddSingleFile () and AddCSLuaFile () (I know, it's stupid, but I tried it anyway). Here I tried to do it through addons, which are networked. I can't just add a DLL to a client, because I'd like to run a dedicated server with this DLL, so it should be sent and include by clients automatically. Result: the game doesn't include the DLL from the addon's bin folder. Tried to add both DLLs to an addon's bin, and then added the addon to both the server and the client. Tried to do nothing, just placed server-side and client-side DLLs in the server folder. My DLL includes and executes local as required, but not networked (only if it was added manual to both sides). Garry's Mod provides a C++ API to create server-side and client-side DLLs.Īs it is said in the article "Creating Binary Modules", they must be placed in the "garrysmod/lua/bin/" folder, but what do I need to do if I'd like to send a DLL to a client, which is required for a lot of tasks, I think?
