Some sample projects for various Garry's Mod addons
This repository contains various sample addons for Garry’s Mod. Each addon is self-contained and demonstrates some aspect of Garry’s Mod development.
You are welcome to modify or adapt any of these addons to create your own addon.
Visual Studio Code (Windows/Mac/Linux) for Garry’s Mod Lua development.
You should also get the following extensions:
See Usage for instructions on how to download and use the samples.
Sample | Description |
---|---|
Hello World | A basic sandbox weapon |
TTT Traitor Weapon | A weapon for TTT that traitors can buy through the equipment shop |
Map Hello World | A simple map addon |
git clone https://github.com/BadgerCode/GMod-Addon-Samples.git
File
-> Open Folder
samples/hello-world
)