Hello,
I was wondering - where do the files the server sends to the client get stored?
I'm writing a function that iterates through the lua files received by the server, but I have no clue how to find them.
Thanks
What do you mean where do the files the server send to the client get stored? I'm not sure exactly what your trying to do but you could use file.Find ([url]http://wiki.garrysmod.com/page/file/Find[/url]) and loop through the files, AddCSLuaFile'ing and include'ing them wherever neccessary.
They are inside GarrysMod/cache/lua on the client. They don't retain their real filename, and are LZMA compressed with a weird header (basically the word CAT at the beginning).
[QUOTE=Noi;45326513]StringTables, client_lua_files[/QUOTE]
That just contains directories, not scripts iirc.
Sorry, you need to Log In to post a reply to this thread.