StefanAlmighty Posted February 23, 2016 Share Posted February 23, 2016 Okay so I'm not sure how to create a custom edit box, as I don't want to use the normal GUI ones: As seen in the image, it looks ugly with the white-backed edit boxes, I saw it on another server where they had their own edit box style. How could I go about doing this? Link to comment
Dimos7 Posted February 23, 2016 Share Posted February 23, 2016 dxDrawImage dxDrawLine dxDrawText dxDrawRectangle Link to comment
StefanAlmighty Posted February 23, 2016 Author Share Posted February 23, 2016 How do I make it function like a normal edit box though? Link to comment
GTX Posted February 23, 2016 Share Posted February 23, 2016 You can set GUI edit's alpha and dxDrawText over it with guiGetText(edit) as text in DX function. Link to comment
Bonus Posted February 23, 2016 Share Posted February 23, 2016 Use onClientKey to write into dxDrawText. Link to comment
StefanAlmighty Posted February 23, 2016 Author Share Posted February 23, 2016 How can I move dxDrawText infront of GUI? Link to comment
StefanAlmighty Posted February 23, 2016 Author Share Posted February 23, 2016 Okay so I've done that now, but now I want the password text to be hashed like you can do with GUI. Simply the "Password" text should appear as hashed (ps. "Password" is created via dxDrawText) Link to comment
tosfera Posted February 23, 2016 Share Posted February 23, 2016 change the text from the password's location to; string.rep ( "*", #) 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