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")
Ekali
Hi, any news on this? It could be really useful and interesting to be able to send a file to a client, for a module system and to be more organized for example.
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
SyedMuhammad
could be related to this? https://feedback.nanos.world/ideas/p/latent-events
Mouloud___
SyedMuhammad: 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"
SyedMuhammad
could I say this is like "sending a file to a player" or "making the player to download a file"?
Mouloud___
SyedMuhammad: 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