First, I want to render a view of a model on the client’s HUD. I tried using this:
if not(PlyModel) then
PlyModel = vgui.Create(“DModelPanel”)
PlyModel:SetPos(10, ScrH() - 410)
PlyModel.LayoutEntity = function() end
inside of HUDPaint, but that gives me the error:
ClientsideModel cannot be called while rendering
Second, is there a way to run a server command from the client?
I need a player to be unfrozen when client variables are true, and I’m currently using a concommand, but that means it can be done any time from the console.