A base for developing Garry's Mod binary modules in Rust.
- Install Rust
- Download or
git clone
this repository - Open the cloned repository in a command prompt or terminal
- Type
cargo build
Your built module can be found in target/debug
!
When building a Linux module, you'll find it has the extension .so
, you can simply change it to .dll
and it will still work fine in Garry's Mod.
- Read the
gmod
crate documentation - Read the Rust book
- Build in release mode!