Jump to content

Is there a way... [QUESTION]


xScatta

Recommended Posts

Posted

Hey Guys!

I have a small question.

Is there a way to place GUI editbox and then make the editbox invisible but text in it visible?

It's fine to celebrate success but it is more important to heed the lessons of failure.

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

Yeah i mean to keep the text in editbox visible but the just box invisible.

It's fine to celebrate success but it is more important to heed the lessons of failure.

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 ) 

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

@Max+

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

@Necktrox

But i wanna to have the text editable at all.

It's fine to celebrate success but it is more important to heed the lessons of failure.

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 

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

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 ..

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

@Max+

I want to make it editable for player. :)

It's fine to celebrate success but it is more important to heed the lessons of failure.

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

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...