• Can't send files to the client !
    4 replies, posted
Hi, i'm trying to send the Graffiti Swep content to the client but I get checkboard textures instead of the paint one :/ How can I do that correctly ? Here is what i tried : AddCSLuaFile() //---the part i added resource.AddFile("materials/effects/mhs_water_decal.vmt") resource.AddFile("materials/effects/mhs_water_decal2.vmt") resource.AddFile("materials/effects/spray_decalred.vmt") resource.AddFile("materials/effects/spray_decalgreen.vmt") resource.AddFile("materials/effects/spray_decalblue.vmt") resource.AddFile("materials/effects/spray_decalyellow.vmt") resource.AddFile("materials/entities/weapon_spraymhs.png") resource.AddFile("materials/mhstextures/selection_spraymhs.png") //---end of the part i added //---water decals game.AddDecal("mhsWaterDecal", "effects/mhs_water_decal") game.AddDecal("mhsWaterDecalSmall", "effects/mhs_water_decal2") //---spray decals game.AddDecal("mhsSprayRed", "effects/spray_decalred") game.AddDecal("mhsSprayGreen", "effects/spray_decalgreen") game.AddDecal("mhsSprayBlue", "effects/spray_decalblue") game.AddDecal("mhsSprayYellow", "effects/spray_decalyellow") And here is the mod : https://steamcommunity.com/sharedfiles/filedetails/?id=388725208
if you have the addon as workshop object, why not just add the addon to a server collection so every player downloads it?
Because almost nobody download the collections, everyone just join and play Nobody have a solution ?
You are using resource.AddWorkshop right?
People will join the server, and if they like the Server THEN they download the collection...if you really plan to force them downloading it on first join, i can assure you, they wont wait that long. They will just leave before even finished loading because they have to download that much
Sorry, you need to Log In to post a reply to this thread.