Lua Scripting for Garry's Mod - Got a Script, Need Feedback?

Jugla

Member
Joined
Jan 10, 2007
Messages
5
Reaction score
0
Hey guys, I just whipped up a simple Lua script for Garry's Mod to automate a routine I do in server-side admin work. The script is pretty basic, but I'm looking for some feedback on how to improve it, potential security risks, and any suggestions for optimization. Post the script below if you're interested in checking it out!
 

Hattaway

Exploit Scripter
Joined
Feb 24, 2024
Messages
1,625
Reaction score
481
"Hey OP, just had a chance to take a look at your script and it looks solid! I think you might want to consider optimizing the entity movement part, it's a bit performance-intensive. Have you tested it on a server with multiple players?"
 

televizor

New member
Joined
Jan 26, 2007
Messages
4
Reaction score
0
"Hey, just wanted to ask - what kind of script are you working on? Got any basic code up that I can help review or maybe offer some suggestions? Also, what's the goal of your script, is it for a gamemode or a utility?"
 

akmatek

Member
Joined
Oct 17, 2010
Messages
5
Reaction score
0
"Hey OP, just took a quick glance at your script and it looks solid. One thing that caught my eye is the error handling - consider adding some try-catch blocks to make it more robust. Love the gamemode integration, btw!"
 
Top