CertainLimit Posted July 31, 2012 Share Posted July 31, 2012 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
Castillo Posted July 31, 2012 Share Posted July 31, 2012 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. Link to comment
CertainLimit Posted July 31, 2012 Author Share Posted July 31, 2012 (edited) 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 July 31, 2012 by Guest 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