Jump to content

DELETE THIS


Recommended Posts

even if it has errors it works

actually, your script wouldn't even work..

You put an extra end so that would give an Lua syntax error, and you made it on the server side when it should be on the client side, meaning it's going to delete the scripts from the server rather than the client.

Link to comment
changed :S

use tables

Example:

local resources = {"name.lua","name.lua","name.lua","name.lua","etc..."} 
  
function protect () 
    for i , v in ipairs (resources) do 
        fileDelete(tostring(v[1])) 
    end  
end 
  

Link to comment

This is useless cause the player have to redownload the files every time and if you have like 300MB to download....

And also use onClientPlayerLogin and Walid function.

Even if you do it the player will still have acces to files before login so...

Edited by Guest
Link to comment

* fileDelete: the script file will be downloaded in the hard disk which mean you can steal the script while you downloading.

* cache: the script will be downloaded directly in the RAM and not in the hard disk.

Both methods the client have to download the files each time he connect.

Compile scripts that's the best way.

Link to comment
* fileDelete: the script file will be downloaded in the hard disk which mean you can steal the script while you downloading.

* cache: the script will be downloaded directly in the RAM and not in the hard disk.

Both methods the client have to download the files each time he connect.

Compile scripts that's the best way.

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