Files
wnsrc/gamemodes/helix/plugins/bodygroupmanager/cl_hooks.lua

21 lines
543 B
Lua
Raw Normal View History

2024-08-05 18:40:29 +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 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)