• render.FogMode( MATERIAL_FOG_LINEAR ) doesn't work. HELP!
    1 replies, posted
A simple question: How can I set this code to work, when I add it to a scripted Entity code: [CODE]render.FogMode( MATERIAL_FOG_LINEAR ) render.FogStart( 75.47 ) render.FogEnd( 679.25 ) render.FogColor( 145, 145, 145 )[/CODE] I actually added the code to the ENT:Spawn() function.(Because I never used FogMode, before.) I want that the Fog starts, when I spawn the SEnt. [editline]15th July 2011[/editline] No one got an idea? :C
Try the lua questions forum [url]http://www.facepunch.com/forums/337[/url]
Sorry, you need to Log In to post a reply to this thread.