Is there a way you can register weapons at run time? For example say I have a table with:
[Lua]
tbl["class_name"] = {["Damage"] = 10. ["Model"] = "model"}
tbl["class_name2"] = {["Damage"] = 10. ["Model"] = "model"}
[/Lua]
Then loop through the table and register them all?
[url]http://wiki.garrysmod.com/page/weapons/Register[/url]
Seems to be possible.
[QUOTE=TFA;48237927][url]http://wiki.garrysmod.com/page/weapons/Register[/url]
Seems to be possible.[/QUOTE]
I saw that, but I thought this was an internal function and shouldn't be used?
Sorry, you need to Log In to post a reply to this thread.