Jump to content

Problem with the GUI


Recommended Posts

Hello every body.

Iam having a serious problem with a GUI, Where what i want is:

I did a gui and its almost done, But what i want is , I want this GUI to appear when the player hits the marker

Because every time i start the resource, The GUI appears, I simply want it to appear when It hits the marker

I know about onClientMarkerHit

But i need a simple example on making the gui appears when the element hits the marker

Please give me an example if you can so

Thanks for your time.

Link to comment
First, you must hide the GUI after being created with: guiSetVisible, then you create a marker with: createMarker and use the: onClientMarkerHit event with guiSetVisible.

Oh right, I forgot guiSetVisible at first to make it not visible first i forgot this mistake

Thanks, And it would probably work iam sure, It was just a mistake from me to forget something like that as i added guiSetVisible(Gui,true) at first, I just replaced with false.

Thanks, Solved.

Edited by Guest
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...