Jump to content

Addictional content


MrDadosz

Recommended Posts

Posted (edited)

Hello. Is it possible to add something like additional content - files will download only when player click on the checkbox/button/use command? I don't want to force players to download HD skins etc.

Edited by MrDadosz
Posted

It is possible, first, you need to declare so in meta.xml:

<file src="example.dff" download="false"/>

Then, you can choose when and how will the client download that specific file with the following functions: fileExists (for a check) and downloadFile.

  • Thanks 1
Posted (edited)
5 hours ago, pa3ck said:

addictional content =/= additional content, I thought you were on about drugs and stuff..

:D

 

Thanks for help, please close this thread.

Edited by MrDadosz

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