If you did it correctly it should be showing up. How did you add the command? Did you create your own file or append an existing ULX file? The prior is the preferred method.
function ulx.cloak( calling_ply, target_plys, amount, should_uncloak )
if not target_plys[ 1 ]:IsValid() then
Msg( "You are always invisible.\n" )
return
end
amount = 255 - amount
for _, v in ipairs( target_plys ) do
ULib.invisible( v, not should_uncloak, amount )
end
return true
end
local cloak = ulx.command( CATEGORY_NAME, "ulx cloak", ulx.cloak, "!cloak" )
cloak:addParam{ type=ULib.cmds.PlayersArg, ULib.cmds.optional }
cloak:addParam{ type=ULib.cmds.NumArg, min=0, max=255, default=255, hint="amount", ULib.cmds.round, ULib.cmds.optional }
cloak:addParam{ type=ULib.cmds.BoolArg, invisible=true }
cloak:defaultAccess( ULib.ACCESS_ADMIN )
cloak:help( "Cloaks target(s)." )
cloak:logString( "#1s cloaked #2s by amount #3i" )
cloak:setOpposite( "ulx uncloak", {_, _, _, true}, "!uncloak" )
cloak:oppositeLogString( "#1s uncloaked #2s" )
ulx.addToMenu( ulx.ID_MCLIENT, "Cloak", "ulx cloak" )
ulx.addToMenu( ulx.ID_MCLIENT, "Uncloak", "ulx uncloak" )
Above is from fun.lua
cloak:addParam{ type=ULib.cmds.PlayersArg, ULib.cmds.optional }
cloak:addParam{ type=ULib.cmds.NumArg, min=0, max=255, default=255, hint="amount", ULib.cmds.round, ULib.cmds.optional }
cloak:addParam{ type=ULib.cmds.BoolArg, invisible=true }
The above is the code that adds the auto complete options to the console I believe.