Steps to reproduce
1.-Creating your own ULX CMD
2.-Trying to use it using the GUI
3.-Only appears as uncategorized
Expected behavior
Appear on the specified category.
Actual behavior
Doesn't appear, but the command does work.
Error(s) in server console, if any
None
Error(s) in player's console, if any
None
Version
ULib v2.63
ULX v3.73
My command code:
if SERVER then
local cmd = "!"..gAdmin.Functions.GetCMD() or "!apply"
local url_dir = gAdmin.Settings.CMD.URL or "http://google.com"
function ulx.gadmin_url(ply)
if !IsValid(ply) || !ply:IsPlayer() then print("This command can only be ran in-game!") return end
net.Start("gAdminURL")
net.WriteString(url_dir)
net.WriteEntity(ply)
net.Send(ply)
end
local gadmin_url = ulx.command("gAdmin", "ulx gadmin_url", ulx.gadmin_url, cmd)
gadmin_url:defaultAccess(ULib.ACCESS_ALL)
gadmin_url:help("Open the apply site using the Steam browser.")
end