Garry's Mod

Garry's Mod

Weapon Editor & Replacer
Vlad 12 May, 2020 @ 10:21am
How can I add this to a server?
Maybe I'm just being incompetent, but simply copying the lua folder where it belongs in my server is not allowing this to work.
Furthermore, adding it to lua/autorun/server/admin_functions.lua got the server to recognize the command, but it simply does nothing. I haven't used Lua in a long time so my rust is still wearing off, so bear with me:
local function Weapon_Properties_Editor(command) if (!player:IsAdmin()) then return end RunConsoleCommand("weapon_properties_editor"); end