Files
wnsrc/gamemodes/ixhl2rp/plugins/butchering/cl_hooks.lua

23 lines
620 B
Lua
Raw Normal View History

2024-08-04 23:12:27 +03:00
--[[
| 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
function PLUGIN:PopulateEntityInfo(entity, container)
local drop = entity:GetNetVar("drop")
if (drop) then
local corpseTooltip = container:AddRow("corpse")
corpseTooltip:SetContentAlignment(5)
corpseTooltip:SetText("Możesz zarżnąć te zwłoki, uderzając je odpowiednim narzędziem.")
corpseTooltip:SizeToContents()
end
end