Jump to content

FileDelete & Cache=False


'LinKin

Recommended Posts

Hello,

Most of us compile client scripts for protecting them. But I've found this function which apparently deletes the file downloaded in MTA:SA/mods/deathmatch/resources from each client.

fileDelete ("script.lua") 

Am I right?

Also, I've seen in meta.xml a new attribute ("cache="false")


This one is new for me, I'm not sure what it does.

Link to comment

With fileDelete, the script file will be downloaded in the hard disk and will load in the RAM and deleted from the hard disk after the resource start (you can still steal the script while you downloading).

But with cache, the script will be downloaded directly in the RAM and not in the hard disk (almost impossible to steal the script unless you have much knowledge of ram address or whatever it called).

  • Like 1
  • Thanks 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...