Jump to content

DELETE THIS


Recommended Posts

Posted

Your code has errors, and it's basically useless as there's cache attribute in meta already.

(also your script would only protect scripts when a player would login)

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

Posted
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 
  

Posted (edited)

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

yeah that's the problem :|

Posted

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

Posted
* 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

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