Server.DownloadFile
Mouloud __
Server.DownloadFile(ply, pathFile, "package://package01/Client/Image/test.png")
Download a new file to the client and use it without package reload (for example download a new image and use it :
cube:SetMaterialTextureParameter("Skin", "package://package01/Client/Image/test.png")
DevWeb steven
maybe putting a parameter in the package.toml could be interesting we would just have to call them afterwards anyway I validate the idea
GTNardy
could be related to this? https://feedback.nanos.world/ideas/p/latent-events
Mouloud___
GTNardy: i think yes, but in my side, i don't ""need"" an event, i just want "sending a file to a player" and use this file without "package reload all"
GTNardy
could I say this is like "sending a file to a player" or "making the player to download a file"?
Mouloud___
GTNardy: you can say that yes
T
Timmy
+1, if we can do this with lua files as well it would give scripters the ability to make the client download and include files in another way than through the Client/Index.lua entry point