Jump to content

button variables problem


JeViCo

Recommended Posts

My code at the end contains button variables but it defines in 2 cases:

1 - as button1 variable

2 - creates button

button1 = guiCreateButton(747, 286, 102, 40, "", false)
button2 = guiCreateButton(498, 286, 102, 40, "", false)

how can i replace it or prevent creation?

i just want make button open and close on pressed key. 1 button changes player skin/2 gives player a car 

Edited by JeViCo
Link to comment

i just want to show and hide button after it clicked

it'd appear with dx window(binded on key) and hide with dx window(also on pressed button)

i have function to open/close dx window i just need button/// thing

Edited by JeViCo
Link to comment

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