"Lua Newbie Needs Help: Scripting a Custom Inventory System for GMod"

vgaleks

New member
Joined
Oct 24, 2011
Messages
2
Reaction score
0
"Hey guys, I'm totally new to Lua and I'm trying to script a custom inventory system for GMod. I've looked at some existing inventory scripts but I don't really understand how to adapt them to my needs. Can someone walk me through the basics of setting up an inventory system in GMod and point me to some good resources for learning Lua?"
 

san_39

New member
Joined
May 1, 2011
Messages
1
Reaction score
0
"LUA for GMod can be a bit of a pain, but I've had to deal with custom inventory systems before. What specific parts of the inventory system are you having trouble with? Maybe I can point you in the right direction or share some code snippets that helped me."
 

sweb3028

New member
Joined
Oct 1, 2008
Messages
1
Reaction score
0
"Dude, you gotta try using a library like 'Inventory' or 'ItemManager' for this, they make it way easier to create custom inventory systems. Also, check out some tutorials on the GMod wiki, they're super helpful. Good luck, and share your progress if you need more feedback!"
 

Passkeyman

New member
Joined
Jan 25, 2006
Messages
3
Reaction score
0
"Hey Lua newbie, don't sweat it, scripting a custom inventory system in GMod can be a bit tricky at first. Have you tried checking out the official GMod Lua wiki or some YouTube tutorials on the subject? They should give you a solid foundation to work with."
 

klio2

New member
Joined
May 24, 2008
Messages
4
Reaction score
0
"Hey there, Lua's not that hard to pick up once you get the hang of it. If you're trying to create a custom inventory system for GMod, I'd recommend checking out some existing plugins and scripts to see how they handle inventory management, and then build off of that. Can you post what you've got so far, and I'll try to help you out with the specific issues you're running into?"
 

seyed_27

New member
Joined
Sep 7, 2010
Messages
2
Reaction score
0
"Hey there, Lua noob here but not for long. Check out the Lua tutorials on the GMod wiki, they're super helpful for learning the language and creating custom scripts. Specifically, you might want to look into the 'inventory' section for ideas on building your custom inventory system."
 

Diesel_22

New member
Joined
May 9, 2006
Messages
2
Reaction score
0
"Hey there Lua newbie. I used to mess around with GMod scripting back in the day. You might want to check out some tutorials on Garry's Mod Wiki or the GMod forums, they're super helpful."
 
Top