Jump to content

copyResource()


Recommended Posts

Hi. I'm trying to make use of this function: https://wiki.multitheftauto.com/wiki/CopyResource

I can't seem to get it to work. I've debugged it, no errors. The script outputs the correct information(chatbox stuff), except I cannot find the newly copied resources anywhere. Yes, I've given it admin rights and I've made sure the "admin" group has access to "function.copyResource" . Again, there are no errors shown.

I tried the example script in the wiki and I've tried something of my own too. I'll post it for what it's worth: http://pastebin.com/SKfe89yq

However, debugging the copyResource line itself shows me it's returning false.

Why could this be? Thanks

Link to comment
  • 10 months later...

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