Rouzbeh Posted January 18, 2014 Share Posted January 18, 2014 Hello guys ... I'm new in MTA Scripting,I'm making a RPG Server i want when a player download my important resources/Client side scripts , then he/she can't edit or replace that resource and use that in my server this can be a big problem in server...! how i can do this?! Link to comment
Wei Posted January 18, 2014 Share Posted January 18, 2014 I didn't realy understand you. You mean like compling resources ? You have many of compliers here: https://forum.multitheftauto.com/viewtopic.php?f=91&t=31891 You can also trigger code from server to client. And you can also remove scripts when player has load it Link to comment
Rouzbeh Posted January 18, 2014 Author Share Posted January 18, 2014 You can also trigger code from server to client. And you can also remove scripts when player has load it yes,i want resource be deleted from player's pc after loaded how? Link to comment
Wei Posted January 18, 2014 Share Posted January 18, 2014 <script src="" type="client" [color=#FF4000]cache="false"[/color]/> You must add that to meta.xml to client scripts. (Only what is in red) Link to comment
xXMADEXx Posted January 18, 2014 Share Posted January 18, 2014 It'd be better to use https://luac.multitheftauto.com/ than deleting the client scripts every time they join, because they'll always be a download when the client joins. Link to comment
Rouzbeh Posted January 18, 2014 Author Share Posted January 18, 2014 It'd be better to use https://luac.multitheftauto.com/ than deleting the client scripts every time they join, because they'll always be a download when the client joins. very thx guys,i really dont find thanks/rep button in here Link to comment
arezu Posted January 19, 2014 Share Posted January 19, 2014 then he/she can't edit or replace that resource and use that in my server They cant do that, because mta will detect that and redownload the resource files then. 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