I’m pretty new to Lua, and so I’m still confused about plenty of stuff. I’m a bit of a slow learner, but I’ve been making more of an effort to memorize and try things recently. I can do basic stuff, and I know how to use things such as hooks.
My problem is that I’m not sure how I can make it so that you don’t have certain weapons at first. So if you spawned you would not have, say, the crowbar and crossbow. I think it has something to do with in for loops and hooks, but I’m pretty confused as to how I could code it or what I need to use despite reading through the GMod wiki for anything that could help.
Thanks in advance if anyone can help me out here, and my apologies for sounding stupid.
I thought it would be something like that, but I’m probably making some huge and somewhat obvious mistake.
If anyone can tell me how to do this correctly, then I’ll appreciate it. :sigh: