Here is the code for the ULX Blogs
---------------------------------------------------------------------
[CODE]bLogs.DefineLogger("ULX","Admin Mod Commands",false)[/CODE]
---------------------------------------------------------------------
[CODE] local blacklist = {
["ulx noclip"] = "",
}
bLogs.AddHook(ULib.HOOK_COMMAND_CALLED,"ULX",function(ply,cmd,args)
if (blacklist[cmd] == "*") then return end
if (blacklist[cmd] == table.concat(args or {}," ")) then return end
bLogs.Log({
module = "ULX",
log = bLogs.GetName(ply) .. " ran ULX command \"" .. string.gsub(cmd .. " " .. table.concat(args," ")," $","") .. "\"",
involved = {ply}
})
end)
end
[/CODE]
--------------------------------------------------------------------------------------------------------------------------------------------------
It blocks ulx noclip cause it would spam to much so I want to make a new category where you can see all people who used ulx noclip so I made this but it wont work.
----------------------------------------------------------
[CODE]bLogs.DefineLogger("Noclip","Extras",true)[/CODE]
----------------------------------------------------------
[CODE]if (ulx and ULib) then
bLogs.EnableLogger("Noclip")
bLogs.AddHook(ULib.HOOK_COMMAND_CALLED,"ulx noclip",function(ply,cmd,args)
bLogs.Log({
module = "ulx noclip",
log = bLogs.GetName(ply) .. " ran ulx noclip \"" .. string.gsub(cmd .. " " .. table.concat(args," ")," $","") .. "\"",
involved = {ply}
})
end)
end[/CODE]
-----------------------------------------------------------------------------------------------------------
But it doesn't work. When I go to the category in blogs it doesn't show that I used ulx noclip.
You can contact creator here [url]https://scriptfodder.com/scripts/view/1599/-billys-logs-revamped-blogs-logging-system[/url]
I dont get a answer so I try to get it here.
Sorry, you need to Log In to post a reply to this thread.