Luke_Ferrara Posted November 19, 2009 Share Posted November 19, 2009 what would be an updated version of this part of the script local pRoot = xmlLoadFile ( NPC_PATH, RES ); when i try to run the script it says xmlLoadFile may be using an outdated syntax please check and update but I have searched wiki and have no idea what could be an updated version of that part can someone please help me out Link to comment
madis Posted November 19, 2009 Share Posted November 19, 2009 Wiki doesn't say is deprecated, but from the wiki discussion this seems like an alternative: https://wiki.multitheftauto.com/wiki/GetResourceConfig Link to comment
Mr.Hankey Posted November 19, 2009 Share Posted November 19, 2009 xmlLoadFile now only supports one argument as the way how filepaths are defined has changed in 1.0 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now