Initial commit

This commit is contained in:
pavetr
2026-03-15 14:54:49 +03:00
commit 64f8029c06
4027 changed files with 254888 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
plogs.Register('Maestro', false)
local function concat(t)
local s = ''
for k, v in pairs(t) do
if (not istable(v)) then
s = s .. tostring(v)
else
s = s .. concat(v)
end
end
end
plogs.AddHook('maestro_command', function(pl, cmd, args)
if pl:IsPlayer() then
plogs.PlayerLog(pl, 'Maestro', pl:NameID() .. ' has ran command "' .. cmd .. '" with args "' .. concat(args, ' ') .. '"', {
['Name'] = pl:Name(),
['SteamID'] = pl:SteamID(),
})
end
end)