WelCome Posted June 12, 2018 Share Posted June 12, 2018 Hi today i want create a base system but i have problem addCommandHandler("base_open",function(plr,command,name,pass) if name and pass then local find = xmlFindChild(xmlFile,name,0) for _,v in ipairs ( xmlNodeGetChildren ( xmlFile )) do local password = xmlNodeGetAttribute(v,"Password") end if find then outputChatBox("TesT",plr,255,0,0) end end end) and I want to get the value of the "password" variable and check if it is equal to the pass pass Link to comment
AJXB Posted June 12, 2018 Share Posted June 12, 2018 You should set an xmlFile variable Link to comment
WelCome Posted June 12, 2018 Author Share Posted June 12, 2018 Sry for spam, i repair this 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