Jump to content

Resource Filepath


Bonsai

Recommended Posts

Posted

Hey Peeps,

is there a way to directly write into the resource cache?

At the moment I'm creating all the files into my downloader resource and I would like to change it to the way MTA itself handles it, by just writing it into the resource cache folder.

Meaning this: \MTA San Andreas 1.3\mods\deathmatch\resources

Bonsai

Posted

How are you creating the files?

-- This will write in your download resource folder 
fileCreate("resourceName/file.txt")  
  

Have you tried this?

-- This will write into deathmatch\resources 
fileCreate(":resourceName/file.txt")  
  

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