Jump to content

Help


golanu21

Recommended Posts

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

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