Draw Distance

Is there a way of changing the draw / render distance on my server?

Do you mean draw distance of world or entities?

There is a way with props.


hook.Add( "OnEntityCreated", "draw distance", function( ent )
	if ( ent:GetClass() == "prop_physics" ) then
		ent:SetSaveValue("fademindist", 1024) 
		ent:SetSaveValue("fademaxdist", 2048)
	end
end )

And I should put this serverside, client or shared?

thanks by the way

Serverside.