Jump to content

Download scripts upon request.


Recommended Posts

So I am in a server and I want to then open a gui and click 'download this script' and then that script will download to your own client side files after you have pressed it. How would this be possible? For example if I wanted to make a resource only available to be downloaded by those I want it to?

Link to comment
This topic is going to get locked you know...

There's nothing wrong in the topic.

@callum123, I don't remember exactly if you can make resources download only to a few players ( you can do it if you make your own download system, which is not hard to do - just needs some knowledge ) but you can use:

--Functions: downloadFile, triggerServerEvent 
--Events: onClientGUIClick 

Link to comment

What I wanted to do was to allow players to start/stop resources for themselves without it affecting any other players.


Or how about just using these (Since I wanted to make the script for allowing car mods)


and then making them load for the player who called it only? Therefore some players can have car mods and other can choose not to install them? Could that work?

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