• Force Client To Download Models + Etc!
    67 replies, posted
Wait, what?! Is all I have to add resource.AddFile(".mdl"); resource.AddFile(".vtf"); ?! I've been sitting hours to add all vehicles & their materials to my server..
Would this be right: resource.AddSingleFile( '/addons/MW2 ACR PACK/sound/weapons/MW2/iron-in.wav' )
[QUOTE=santiainen;25762257]Would this be right: resource.AddSingleFile( '/addons/MW2 ACR PACK/sound/weapons/MW2/iron-in.wav' )[/QUOTE] Read above, resource.AddSingleFile('sound/weapons/MW2/iron-in.wav')
Hello im a noob on this and LUA:ing but i think i did exact as the tutorial here told me to, still when my friend joined he didnt get the materials. so i wonder... what did i do wrong? is it wrong to write for example. *open "ForcedDownload.txt" resource.Addfile ("materials/lol.vmt") resource.Addfile ("materials/lol.vtf") resource.Addfile ("materials/rofl.vmt") resource.Addfile ("materials/rofl.vtf") I wrote exactly that way in my txt file except (lol and rofl are examples) I have enters and spacebars in my txt file. So... can someone tell me what i did wrong? (it is a serv i start up from the GAME and hit CREATE MULTIPLAYER so its not dedicated) Any information or a dead-eye-close instruction with a microscope help would be very appreciated! Sorry if i have a horrible grammar and language. Haha im so sorry, but it is resource.AddFile yeah only the F were wrong here on my list. Im so sorry, otherwise everything is exactly as ive donne in the .txt
It's resource.AddFile, not resource.Addfile. And next time, check out the Questions forum.
Sorry, you need to Log In to post a reply to this thread.