Wei Posted May 21, 2012 Share Posted May 21, 2012 (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 May 21, 2012 by Guest Link to comment
Wei Posted May 21, 2012 Author Share Posted May 21, 2012 <VIP> VIP </VIP> Ive made a mistake local xml3 = xmlLoadFile( "VIP.xml" ) local VIP = xmlNodeGetValue( xml3 ) Link to comment
Castillo Posted May 21, 2012 Share Posted May 21, 2012 Here it worked, are you sure that you added in the meta.xml this: "VIP.xml" type="client" /> Link to comment
Wei Posted May 21, 2012 Author Share Posted May 21, 2012 I've got config and replaced with file and its the same Link to comment
Castillo Posted May 21, 2012 Share Posted May 21, 2012 @Blazy: This is the screenshot: http://i.imgur.com/88hD2.jpg It works fine here, are you sure that your XML path is right? Link to comment
Wei Posted May 21, 2012 Author Share Posted May 21, 2012 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 ? Link to comment
Castillo Posted May 21, 2012 Share Posted May 21, 2012 In "Settings -> Interface" I set the "MTA Blue ( default )". Link to comment
Wei Posted May 21, 2012 Author Share Posted May 21, 2012 In "Settings -> Interface" I set the "MTA Blue ( default )". thanks 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