This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 8064ba84d8
commit 73479cff9e
7338 changed files with 1718883 additions and 14 deletions

View File

@@ -0,0 +1,28 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local PLUGIN = PLUGIN
PLUGIN.name = "Extra Admin Container Command"
PLUGIN.author = "Naast"
PLUGIN.description = "Does what it does."
ix.util.Include("sv_plugin.lua")
ix.command.Add("CheckContainerLastAccessor", {
description = "Désigne la dernière personne ayant interagi avec le conteneur que vous regardez.",
privilege = "Helix - Manage Containers",
adminOnly = true,
OnRun = function(self, client)
local container = client:GetEyeTrace().Entity
if container and container:GetClass() != "ix_wncontainer" then return client:NotifyLocalized("Vous ne regardez aucun conteneur !") end
PLUGIN:GetContainerInteractionInfo(container, client)
end
})