golanu21 Posted March 2, 2013 Share Posted March 2, 2013 function guiStart () local node = xmlLoadFile("data\\carshops.xml") local vNum2 = 0 while ( xmlFindSubNode ( node, "carshop", vNum2 ) ~= false ) do local vNum3 = 0 local shop = xmlFindSubNode ( node, "carshop", vNum2 ) while ( xmlFindSubNode ( shop, "carshopcol", vNum3 ) ~= false ) do local shopCol = xmlFindSubNode ( shop, "carshopcol", vNum3 ) local shopName = xmlNodeGetAttribute ( shopCol, "name" ) 4: Bad Argument @ 'xmlFindSubNode' 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