Hero192 Posted June 29, 2015 Posted June 29, 2015 (edited) this one solver my current problem is here !! https://forum.multitheftauto.com/viewtopic.php?f=91&t=89553 Edited July 2, 2015 by Guest
bosslorenz Posted July 2, 2015 Posted July 2, 2015 onClientMarkerHit guiSetVisible But of course as you have said, another transport system on another marker. So you have to make another guiCreateWindow.
Gr0x Posted July 2, 2015 Posted July 2, 2015 Just simply check if the source of your onMarkerHit event is (one of the) the marker(s) you created. Example: transportMarker = createMarker(0,0,5,"cylinder",5) function onHitEvent(hitElement,matchingDimension) if matchingDimension then if source == transportMarker then -- Your code. end end end addEventHandler("onMarkerHit",root,onHitEvent) You can also do it like this i guess. (I'm not sure about this one though, I always use the upper one.) transportMarker = createMarker(0,0,5,"cylinder",5) function onHitEvent(hitElement,matchingDimension) if matchingDimension then -- Your code end end addEventHandler("onMarkerHit",transportMarker,onHitEvent)
bosslorenz Posted July 2, 2015 Posted July 2, 2015 Just give the code of your GUI window. How are we supposed to check if you dont let us see the script of yours.~!!!!!!!!!! Post the script here where the GUIwindow is created.
Hero192 Posted July 2, 2015 Author Posted July 2, 2015 My main problem is here https://forum.multitheftauto.com/viewtopic.php?f=91&t=89553
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