Hey,
Tried what you said seem to just break it, could you do an example please??
function ulx.watchlist(calling_ply)
watchlist = {}
for k, v in pairs(player.GetAll()) do
if v:GetPData("Watched") == "true" then
table.insert( watchlist, v:Nick())
table.insert(watchlist, v:GetPData("WatchReason"))
end
end
local watchstring = table.concat( watchlist, "," )
ulx.fancyLogAdmin( nil, true, "Watchlist: #s ",watchstring )
end
local watchlist = ulx.command("Essentials", "ulx watchlist", ulx.watchlist, "!watchlist",true)
watchlist:defaultAccess( ULib.ACCESS_ADMIN )
watchlist:help( "Prints watch list." )