Jump to content

Ayuda - XML


Matty

Recommended Posts

Buenas........ Que es lo que estoy haciendo mal?:

function reading () 
  
loadxml = xmlLoadFile ( "palabras.xml" ) 
   if loadxml then 
     findWords = xmlFindChild ( loadxml, "palabras", 0 ) 
     readxml = xmlNodeGetValue ( findWords ) 
   end 
end 
addEventHandler ( "onResourceStart", getRootElement(), reading ) 
  
function post () 
  
if readxml then 
       outputChatBox ( tostring ( readxml ) ) 
    end 
  end 
addCommandHandler ( "testp", post ) 

No hay errores en el debug.

EDIT:

test1 
test2 
test3 
test4 
test5 

Edited by Guest
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...