I have a question and I hope we can do it.
Here is an example code and i’m sure you will understand:
[lua]for k, v in pairs( file.Find(“materials/VDDR/*.vtf”) ) do
resource.AddFile( v )
end
for k, v in pairs( file.Find(“materials/VDDR/*.vmt”) ) do
resource.AddFile( v )
end[/lua]
So this is not working, but I am sure we can do something like that, anybody know how?
Cause i don’t feel like adding 200 files by hand.
Thank you.