Jump to content

xml problem


Wei

Recommended Posts

Posted (edited)

I'm making a help panel

local xml = xmlLoadFile( "staff.xml" ) 
local staff = xmlNodeGetValue( xml ) 

elseif ( source == butVIP ) then  
        guiSetText( helpMem, VIP ) 

BadArgument @ guiSetText [expected string]

if I add tostring VIP it returns false

Edited by Guest
Posted

<VIP> 
VIP 
</VIP> 

Ive made a mistake

local xml3 = xmlLoadFile( "VIP.xml" ) 
local VIP = xmlNodeGetValue( xml3 ) 

Posted

Yeah It was that i had it in the xml folder. In the meta I added it but in the code i forgot.

Can I ask you how did you make that blue chatbox ?

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