HUNGRY:3 Posted May 31, 2015 Share Posted May 31, 2015 (edited) REMOVED USELESS Edited June 1, 2015 by Guest Link to comment
SunArrow Posted May 31, 2015 Share Posted May 31, 2015 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) Link to comment
HUNGRY:3 Posted May 31, 2015 Author Share Posted May 31, 2015 even if it has errors it works Link to comment
xXMADEXx Posted May 31, 2015 Share Posted May 31, 2015 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
xXMADEXx Posted May 31, 2015 Share Posted May 31, 2015 changed It still uses the onPlayerLogin event, which is a server-side only event. You should test your scripts before releasing them. Link to comment
Walid Posted May 31, 2015 Share Posted May 31, 2015 changed 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
Tekken Posted May 31, 2015 Share Posted May 31, 2015 (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 June 1, 2015 by Guest Link to comment
HUNGRY:3 Posted June 1, 2015 Author Share Posted June 1, 2015 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 Link to comment
Tekken Posted June 1, 2015 Share Posted June 1, 2015 If you want a good encryption tool look at this: Link to comment
HUNGRY:3 Posted June 1, 2015 Author Share Posted June 1, 2015 fixed every thing now it works 100% Link to comment
Walid Posted June 1, 2015 Share Posted June 1, 2015 fixed every thing now it works 100% Wrong. Link to comment
ALw7sH Posted June 1, 2015 Share Posted June 1, 2015 Just use https://luac.multitheftauto.com and/or https://community.multitheftauto.com/index.php?p= ... ls&id=9219 Link to comment
The Don Posted June 1, 2015 Share Posted June 1, 2015 best way to protect your files is this Link to comment
Walid Posted June 1, 2015 Share Posted June 1, 2015 * 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
John Smith Posted June 1, 2015 Share Posted June 1, 2015 Basically this script is useless and it will confuse new users Link to comment
Tekken Posted June 1, 2015 Share Posted June 1, 2015 * 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
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