Jump to content

[Help] About resources


Recommended Posts

Guys please i need some help , i add many scripts in my server resource folder and i want when players join my server and download all my resources they will find it crypted so they can't open it example : .luac

i am sorry about my english skills.

Link to comment

Sorry i try and i uploaded my resource .luac but when my friend join my sever he find two file inside the resource folder .luac and lua so he can edit my script i want players see just the luac file (encrypted one)

Link to comment
You can try something like this inside your lua file:

Addition to this: Only use that in the end of your file and absolutely not in your server files, only client files. Considering that it's a good way to protect your files, only client files are downloaded.

Link to comment

read this: https://wiki.multitheftauto.com/wiki/Meta.xml

Source code for this resource, possible parameters are:

src: The file name of the source code

type: The type of source code: "client", "server" or "shared".

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" will mean the file is not saved.

validate: If set to "false", compatibility checks are skipped.

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...