mtamaster97 Posted June 19, 2014 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 ?
Et-win Posted June 19, 2014 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. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
mtamaster97 Posted June 19, 2014 Author Posted June 19, 2014 How to make it invisible? I'm rly amateur at this, sry.
Et-win Posted June 19, 2014 Posted June 19, 2014 guiSetAlpha ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
mtamaster97 Posted June 19, 2014 Author Posted June 19, 2014 I figure out already, ye, do u've skype?
Et-win Posted June 19, 2014 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. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
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