How to render Entity.DrawModel serverside

Hello I’m having an issue with Entity.drawmodel
I have it to where a player’s entity angles are based on their camera position but Entity.Drawmodel is only rendering it to that person (clientside)
Does anyone have some tips or a solution? thanks

nothing is rendered serverside; that’s impossible.
The server just does calculations.

If you want to render something for a bunch of people, you need to have a rendering hook or an entity.

I can’t help any further until you show some code examples for what you are attempting.



--ph_prop

include("shared.lua")

function ENT:Draw()
	self.Entity:DrawModel()

end 


function CLASS:OnSpawn(pl)
	pl:SetColor( Color(255, 255, 255, 0))
	
	pl.ph_prop = ents.Create("ph_prop")
	pl.ph_prop:SetPos(pl:GetPos())
	pl.ph_prop:SetAngles(pl:GetAngles())
	pl.ph_prop:Spawn()
	pl.ph_prop:SetSolid(SOLID_BBOX)
	pl.ph_prop:SetParent(pl)
	pl.ph_prop:SetOwner(pl)
	
	pl.ph_prop.max_health = 100
end

Are you sure other clients are downloading the entity?

A heads up; self.Entity is deprecated. Use self:blah()

Yes clients are downloading the entity, I’m going to experiment some and see if I can get this working