Kazafka Posted January 14, 2020 Share Posted January 14, 2020 I tried to load a file, that is in a subfolder, nothing's happening, no errors in console. What's the problem (all code below)? Line of code in script, to load xml file: xml = xmlLoadFile("cars/saved.xml") meta.xml: <file src="cars/saved.xml"/> What's wrong? BTW, everything exists. IDK what's wrong with this, everything's is existing, file is assigned into xml. I clearly don't know what's worng. Link to comment
Bilal135 Posted January 14, 2020 Share Posted January 14, 2020 Debug your code. xml = xmlLoadFile("cars/saved.xml") if xml then print("File is loaded") else print("File is NOT loaded") end Link to comment
Kazafka Posted January 14, 2020 Author Share Posted January 14, 2020 20 minutes ago, Bilal135 said: Debug your code. xml = xmlLoadFile("cars/saved.xml") if xml then print("File is loaded") else print("File is NOT loaded") end U know wut? Imma so dumbo, that I shouldn't programm at all <s <script src="cars.Lua" type="client"/> <!-- Goddamn C L I E N T --> Goddamn C L I E N T anyways, Imma too dumb to programm, and I've got the problem solved. Sorry, that u spent for me that time, that you could spend with ur family or etc. SORRY FOR @stPatrick, too Sorry guys Link to comment
Moderators Patrick Posted January 14, 2020 Moderators Share Posted January 14, 2020 19 minutes ago, VaporZ said: Goddamn C L I E N T anyways, Imma too dumb to programm, and I've got the problem solved. Sorry, that u spent for me that time, that you could spend with ur family or etc. SORRY FOR @stPatrick, too Sorry guys Ohh, boi... 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