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.
[CODE]hook.Add( "OnEntityCreated", "draw distance", function( ent )
if ( ent:GetClass() == "prop_physics" ) then
ent:SetSaveValue("fademindist", 1024)
ent:SetSaveValue("fademaxdist", 2048)
end
end )[/CODE]
[QUOTE=sabadyCZ;47600132]Do you mean draw distance of world or entities?
There is a way with props.
[CODE]hook.Add( "OnEntityCreated", "draw distance", function( ent )
if ( ent:GetClass() == "prop_physics" ) then
ent:SetSaveValue("fademindist", 1024)
ent:SetSaveValue("fademaxdist", 2048)
end
end )[/CODE][/QUOTE]
And I should put this serverside, client or shared?
*thanks by the way*
[QUOTE=F14;47603258]And I should put this serverside, client or shared?
*thanks by the way*[/QUOTE]
Serverside.
Sorry, you need to Log In to post a reply to this thread.