Jump to content

setResourceInfo often not working


Mdbelen

Recommended Posts

Hi there, i have a little big problem with the setResourceInfo function.

I want to use it to save a tostringed number as attribute "cid" to all race maps on the server. (e.g. )

Sometimes this works, but sometimes it doesn't; i really have no clue why.

Often when i want to set or change the value it just doesn't change the file(meta.xml), though it returns true

If I use getResourceInfo for this attribute then, it returns the new value. But it just doesn't save it to the file, not on refresh(all), not on servershutdown.

After serverrestart getResourceInfo returns the value stored in the file (=the old value) then.

Possible that i do something wrong, or is this maybe some "cache-bug" in mta?? (all resources are not zipped)

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