Files
wnsrc/gamemodes/helix/plugins/bodygroupmanager/cl_hooks.lua
lifestorm ba1fc01b16 Upload
2024-08-04 23:12:27 +03:00

21 lines
543 B
Lua

--[[
| 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 net = net
local vgui = vgui
net.Receive("ixBodygroupView", function()
local target = net.ReadEntity()
local proxyColors = net.ReadTable()
local panel = vgui.Create("ixBodygroupView")
panel:SetViewModel(target:GetModel())
panel:SetTarget(target, proxyColors)
end)