Jump to content

Is there a way... [QUESTION]


xScatta

Recommended Posts

Posted

You could use dxDrawText to draw a text on your screen, but you want to be able to write in it don't you? If so, I have no idea.

dxDrawText 

Posted

well , iam not sure about this , but try this and see if it's working or not ,

--Example

editBox = guiCreateEdit( 0.3, 0.1, 0.4, 0.1, "", true ) 
guiSetVisible (editBox, false ) 
  • MTA Team
Posted

It's possible to make the editbox transparent, but that works only when it is read-only.

Posted
@Max+

It don't works cause the text is not visible too.

@Necktrox

But i wanna to have the text editable at all.

Ok ,there is another way ,

try setting the alpha until it's hidden ,

guiSetAlpha 
Posted
@Max+

Text is invisible too.

well i guess you can't but if you want the text Only , why don't you use this ,

guiCreateLabel 

it Only Show 'Text'

but you can't change it, unless you use functions , or somthing to change it any time ..

Posted

Then do what he said. Make a label and make a function that allows the player to edit it.

Like change it to a edit box to change the text, then a button that applies the text to the label and removes the edit box

Posted

Make it invisible and just place a label infront of it. Use event onClientGUIChanged and then check or it was the editbox, then set the text of the label with guiSetText.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...