Jump to content

downloadFile


Recommended Posts

Posted (edited)

Im make a download system. So first important script, second ...

But it's give error.

LamWr1.png

l7mV8l.png

downloadFile(":object/Skins/dead.col") 

7k5r0W.png

Script is running.

What is the problem?

Thx

Edited by Guest
Posted

":" is used to load a file from another resource; resource which isnt the one you're currently running

you could use downloadFile(":[3D]/object/Skins/dead.col") or if you're currently in 3D resource's script then use

downloadFile("object/Skins/dead.col")

Posted

can you post the file path from your pc where this is located?

e.g

C:\Program Files (x86)\MTA San Andreas 1.4\server\mods\deathmatch\resources\resource-name\etc

(also code where downloadFile is would be useful)

  • Moderators
Posted

That is more than logic, to keep everything save.

But you can copy the file to another resource. (or just temporary)

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