overlocus Posted December 16, 2018 Share Posted December 16, 2018 (edited) I want my files not stolen from the my server. How can I hide my files? Edited December 16, 2018 by overlocus Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 (edited) https://wiki.multitheftauto.com/wiki/Meta.xml Quote <script/> Source code for this resource, possible parameters are: cache: When the script file type is "client", this setting controls whether the file is saved on the clients' hard drive. Default is "true". Using "false" Example: hide .lua file wich type is client <script src="client.lua" type="client" cache="false"/> Or try to use 'fileDelete' function. https://wiki.multitheftauto.com/wiki/FileDelete Edited December 16, 2018 by Patrick2562 Link to comment
overlocus Posted December 16, 2018 Author Share Posted December 16, 2018 30 minutes ago, Patrick2562 said: https://wiki.multitheftauto.com/wiki/Meta.xml Example: hide .lua file wich type is client <script src="client.lua" type="client" cache="false"/> Or try to use 'fileDelete' function. https://wiki.multitheftauto.com/wiki/FileDelete I don't want fileDelete function because players don't want download server scripts again Do you have an another suggestion? MTA PUBG servers how hide their scripts? I want like their. Link to comment
Moderators Patrick Posted December 16, 2018 Moderators Share Posted December 16, 2018 16 minutes ago, overlocus said: I don't want fileDelete function because players don't want download server scripts again Do you have an another suggestion? MTA PUBG servers how hide their scripts? I want like their. Compile the client scripts. https://luac.multitheftauto.com/ Link to comment
LyricalMM Posted December 17, 2018 Share Posted December 17, 2018 compile to LUAC or use this: if fileExists("script.lua") then fileDelete("script.lua") end Link to comment
Discord Moderators Pirulax Posted December 17, 2018 Discord Moderators Share Posted December 17, 2018 he said he doesn't wont the clients to redownload the files by the way, PUBG servers use the magic attribute called 'cache' with a value of 'false' in the meta. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now