Tete omar Posted May 17, 2012 Share Posted May 17, 2012 Any gui window creator which make of creating gui windows easily? Link to comment
Guest Guest4401 Posted May 17, 2012 Share Posted May 17, 2012 Any gui window creator which make of creating gui windows easily? GUIEditor by R3mp : viewtopic.php?f=108&t=22831 https://community.multitheftauto.com/index.php?p= ... ils&id=141 Link to comment
Stanley Sathler Posted May 17, 2012 Share Posted May 17, 2012 You also can use the Qt. You can find on forum the plugin to convert the Qt graphics to MTA GUIs. I not found here, so you need search. Link to comment
Smart. Posted May 17, 2012 Share Posted May 17, 2012 viewtopic.php?f=91&t=31891 and look for: "GUI Creation" Link to comment
Tete omar Posted May 17, 2012 Author Share Posted May 17, 2012 Thanks for all !!!!!!!!!!!!!!!!!!!!1 Link to comment
Tete omar Posted May 17, 2012 Author Share Posted May 17, 2012 Any gui window creator which make of creating gui windows easily? GUIEditor by R3mp : viewtopic.php?f=108&t=22831 https://community.multitheftauto.com/index.php?p= ... ils&id=141 I've done creating of the window i want to put it into a marker hit how ? Link to comment
Smart. Posted May 17, 2012 Share Posted May 17, 2012 Server Sided: https://wiki.multitheftauto.com/wiki/OnMarkerHit Client Sided: https://wiki.multitheftauto.com/wiki/OnClientMarkerHit an example: myGuiWindow = guiCreateWindow () myMarker = createMarker () addEventHandler ( "onClientMarkerHit", root, function ( hitElement ) if ( source == myMarker and hitElement == localPlayer ) then guiSetVisible ( myGuiWindow, true ) end end ) Link to comment
skyturk.sgf Posted May 17, 2012 Share Posted May 17, 2012 this is a simple addEventHandler("onClientResourceStart",resourceRoot, function() guitestwindow = guiCreateWindow(0.6837,0,0.315,0.9983,"windowname",true) end ) function guiopenclose () local IsWindowVisible = guiGetVisible(guitestwindow) if (IsWindowVisible == true) then guiSetVisible(guitestwindow, false) guiSetInputEnabled(false) showCursor(false) end if (IsWindowVisible == false) then guiSetVisible(guitestwindow, true) showCursor(true) end end bindKey("F7", "down", guiopenclose) addCommandHandler("opengui", guiopenclose) Link to comment
Smart. Posted May 17, 2012 Share Posted May 17, 2012 He wanted the GUI to be visible on marker hit, not when you bind the key.. 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