Ranous Posted April 26, 2015 Share Posted April 26, 2015 Hello everybody! I want to DxEditbox code. Thank you in advance. Link to comment
WhoAmI Posted April 26, 2015 Share Posted April 26, 2015 Create gui edit, set alpha to 0 and property "AlwaysOnTop" to true. Then, create dxDrawText in same position as gui edit and set it's text from guiGetText function. Link to comment
Ranous Posted April 26, 2015 Author Share Posted April 26, 2015 Thank you. I'll try it. Link to comment
RenanPG Posted April 26, 2015 Share Posted April 26, 2015 Hello, i want 30 millions dollars, a luxury house and also a Audi R8. I would recommend you do simple things in dx before creating components. Link to comment
Ranous Posted April 26, 2015 Author Share Posted April 26, 2015 Thank you. I'm not a professional. I'm doing easy scripts. Link to comment
Ranous Posted April 28, 2015 Author Share Posted April 28, 2015 I not could. Please,help me... Link to comment
WhoAmI Posted April 28, 2015 Share Posted April 28, 2015 We won't make code for you. Show your code and we'll try to help you. Link to comment
Mr.unpredictable. Posted April 28, 2015 Share Posted April 28, 2015 viewtopic.php?f=91&t=47897 read this 1st before creating topic in scripting board. Link to comment
-ffn-python Posted September 5, 2015 Share Posted September 5, 2015 Hi Bro. Example; local theInput local textColor = tocolor(0, 0, 0, 255) local editBoxColor = tocolor(255, 255, 255, 255) addEventHandler("onClientRender", root, function() if theInput then dxDrawRectangle(395, 395, 100, 55, editBoxColor) dxDrawText(theInput, 400, 400, 90, 45, textColor) end end ) addEventHandler("onClientCharacter", root, function(theChar) theInput = theInput .. theChar end ) -- handling the backspace key: addEventHandler("onClientKey", root, function(theButton, state) if theButton == "backspace" and state == "down" then theInput = theInput:sub(1, theInput:len()-1) end end ) Link to comment
Ranous Posted September 5, 2015 Author Share Posted September 5, 2015 This problem solved but i need new techniques. Thank you Python. 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