24A: Garry's Mod Lua Tutorial - Weapon, Entity & Model Inventory

Опубликовано: 14 Май 2026
на канале: DanFMN
19,361
250

This tutorial covers several new concepts related to making an Inventory System. It is expected that you have prior coding knowledge, so I recommend watching the bulk of my glua playlist before attempting this tutorial. This tutorial covers the structure of the inventory system while the second tutorial will cover data saving and perhaps integration into a custom shop.

TIMESTAMPS
Intro: 0:00
File Setup: 0:16
Custom Debug Logs: 1:48
Server Inventory Initialization: 2:54
Creating Items: 4:49
Giving Items: 8:56
Client Inventory Initialization: 14:05
Inventory Menu Setup: 15:53
Using Items: 26:21
Removing Items: 34:35
Making Addon Lua Refresh Aware: 37:16
Adding Player Model Support: 38:29
Add Entity Support: 40:41
Refresh Inventory Menu: 44:04
Dropping Items: 46:00
Setting Up Base Item Entity: 47:55
Item 3D2D Overhead: 51:15
Outro: 57:55


Useful Links:
Discord:   / discord  
Dan's Gmodstore: https://www.gmodstore.com/users/dan
Patreon:   / danfmn   Claim your free Gmod Development Server: https://billing.atomicnetworks.co/aff...