Jump to content

Help - XML


manve1

Recommended Posts

I have tried to make it to work, but as i am new to the xml functions, i need some help:

LUA:

addEventHandler('onResourceStart', resourceRoot, 
function( ) 
saveS = xmlLoadFile( 'save.xml' ) 
local save_info = xmlFindChild(saveS, 'turf', 0) 
xmlNodeSetAttribute( save_info, 'turf', 'nothing new' ) 
end 
) 

META:


SAVE.XML:

    "No" /> 

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