Initial commit
This commit is contained in:
10
addons/plogs/lua/plogs_hooks/ulx.lua
Normal file
10
addons/plogs/lua/plogs_hooks/ulx.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
plogs.Register('ULX', false)
|
||||
|
||||
plogs.AddHook(ULib.HOOK_COMMAND_CALLED, function(pl, cmd, args)
|
||||
if pl:IsPlayer() then
|
||||
plogs.PlayerLog(pl, 'ULX', pl:NameID() .. ' has ran command "' .. cmd .. '" with args "' .. table.concat(args, ' ') .. '"', {
|
||||
['Name'] = pl:Name(),
|
||||
['SteamID'] = pl:SteamID(),
|
||||
})
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user