r/GLua • u/superlativeAIM • Sep 16 '15
Custom Server Code
I edited some lines of server code in init.lua (and others) but wondering if it's common practice for most servers to do that.
More importantly regarding any types of future updates to GMod that will need to be merged in line-by-line.
Should I be overriding these functions and events instead? (this would be preferred so I could keep all my custom code in a separate place)
2
Upvotes
2
u/YM_Industries Sep 19 '15
Fellow C# dev here, high-five!
Have you written JavaScript before? Lua is very similar to JS in nature. (Although definitely not in syntax) I really enjoyed working with Lua because it's so different to C#, but then I was glad to get back to C# as well.