How do I add custom materials to the Materials tool?
3 replies, posted
title
[editline]12th March 2014[/editline]
Anyone?
[editline]12th March 2014[/editline]
:(
[code]list.Add( "OverrideMaterials", "something/something" )[/code]
Path for the second parameter starts in materials. You don't need .vtf at the end of the item. Run the code serverside.
[QUOTE=code_gs;44215441][code]list.Add( "OverrideMaterials", "something/something" )[/code]
Path for the second parameter starts in materials. You don't need .vtf at the end of the item. Run the code serverside.[/QUOTE]
In the console, right?
No, you can't run lua code via console. Create a new file in lua/autorun/server.
Sorry, you need to Log In to post a reply to this thread.