mtamaster97 Posted June 19, 2014 Share Posted June 19, 2014 Hello I'm scripting login panel and i want to users do not use guiEditFields i want to they be able to type in rectangles Ik which functions and events to use but idk how, cuz i'm new in MTA and in Lua scripting local text = { } addEventHandler("onClientClick",root, function () (we check if the click is in the Rec) then addEventHandler("onClientKey",root, function () (we add the letter to the text table) end ) end addEventHandler("onClientRender",root, function () dxDrawText(table.concat(text).....) end ) but idk how to write it correctly, every time i try i screw up something , anyone help ? Link to comment
Et-win Posted June 19, 2014 Share Posted June 19, 2014 I would make the guiCreateEdit invisible so it's there but you can't see it. Then with DX use guiGetText. Link to comment
mtamaster97 Posted June 19, 2014 Author Share Posted June 19, 2014 How to make it invisible? I'm rly amateur at this, sry. Link to comment
mtamaster97 Posted June 19, 2014 Author Share Posted June 19, 2014 I figure out already, ye, do u've skype? Link to comment
Et-win Posted June 19, 2014 Share Posted June 19, 2014 I figure out already, ye, do u've skype? Yes I do, but I'm not going to give it. I'm only here available to help if I want/know it. Link to comment
mtamaster97 Posted June 19, 2014 Author Share Posted June 19, 2014 Cool, thank you anyways. 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