/gmod-module-base

The base interface to create binary modules for Garry's Mod

Primary LanguageC++

gmod-module-base

Technically everything you need is in include.

Example contains an example project. Running BuildProjects.bat requires premake4 (http://industriousone.com/premake).

The generated dlls should be placed in

garrysmod/lua/bin/

They should also be named appropriately:

gmsv_example_win32.dllserverside on windowsrequire( 'example' )
gmsv_example_linux.dllserverside on linuxrequire( 'example' )
gmsv_example_osx.dllserverside on osxrequire( 'example' )
gmcl_nutsack_win32.dllclientside on windowsrequire( 'nutsack' )
gmcl_example_osx.dllclientside on osxrequire( 'example' )