iPrestege Posted October 23, 2016 Share Posted October 23, 2016 No i don't think you can use the way you upload scripts with like ftp or online control panel file manager. Link to comment
Captain Cody Posted October 23, 2016 Share Posted October 23, 2016 If you were to modify the admin panel yes, but with the default one no. Link to comment
GTX Posted October 27, 2016 Share Posted October 27, 2016 If you want to download scripts from admin panel to your computer, then yeah, I think it is possible. Under resources tab you can execute functions (Where it says "For advanced users only" or something like that). You can use runcode resource too. You'd need to add an event handler to client side and then write the data into a file using file functions when data is sent. On the server side, open a file using file functions and read it, then send the data to event handler that you added in client side. From computer to server, it's just reversed. Used functions: fileOpen -- Open a file on the server fileCreate -- Create a file client side fileWrite -- Write to client side (it will be in your mods folder) fileRead -- Read the file fileGetSize -- Used for second argument in fileRead fileClose -- Remember to close your file fileFlush -- Not needed really triggerClientEvent -- Send data (You can use triggerLatentEvent if the file is too big) addEventHandler addEvent Now go download some scripts from some server and call yourself a hacker Link to comment
Turbe$Z Posted October 29, 2016 Author Share Posted October 29, 2016 On 2016. 10. 27. at 1:10 PM, GTX said: If you want to download scripts from admin panel to your computer, then yeah, I think it is possible. Under resources tab you can execute functions (Where it says "For advanced users only" or something like that). You can use runcode resource too. You'd need to add an event handler to client side and then write the data into a file using file functions when data is sent. On the server side, open a file using file functions and read it, then send the data to event handler that you added in client side. From computer to server, it's just reversed. Used functions: fileOpen -- Open a file on the server fileCreate -- Create a file client side fileWrite -- Write to client side (it will be in your mods folder) fileRead -- Read the file fileGetSize -- Used for second argument in fileRead fileClose -- Remember to close your file fileFlush -- Not needed really triggerClientEvent -- Send data (You can use triggerLatentEvent if the file is too big) addEventHandler addEvent Now go download some scripts from some server and call yourself a hacker uhh it's hard :oo 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