Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- createMarker(-1988.8000488281, 139.80000305176, 26.60000038147, "cylinder", )
- function =
- GUIEditor = {
- button = {},
- window = {}
- }
- GUIEditor.window[1] = guiCreateWindow(550, 112, 208, 275, "Lockführer", false)
- guiWindowSetSizable(GUIEditor.window[1], false)
- GUIEditor.button[1] = guiCreateButton(11, 232, 83, 33, "Annehmen", false, GUIEditor.window[1])
- GUIEditor.button[2] = guiCreateButton(115, 232, 83, 33, "Schließen", false, GUIEditor.window[1])
- GUIEditor.button[3] = guiCreateButton(12, 22, 176, 58, "Lockführer von Los Santos nach San Fierro , 900€", false, GUIEditor.window[1])
- GUIEditor.button[4] = guiCreateButton(12, 90, 176, 58, "Coming Soon", false, GUIEditor.window[1])
- GUIEditor.button[5] = guiCreateButton(12, 158, 176, 58, "Coming Soon", false, GUIEditor.window[1])
- addEventHandler("onClientGUIClick", GUIEditor.button[2], function(button,state)
- if button == "left" then
- guiSetVisible(GUIEditor.window[1],false)
- showCursor(false)
- end
- function guiToggleVisible ( )
- if ( guiGetVisible ( markerzumjob ) == true ) then -- check if the gui element is visible
- guiSetVisible ( markerzumjob, false ) -- if it is, we hide it
- else
- guiSetVisible ( markerzumjob, true ) -- if not, we make it visible
- end
- function show_GUIEditor_Window ()
- local IsWindowVisible = guiGetVisible(GUIEditor_Window[1])
- if (IsWindowVisible == true) then
- guiSetVisible(GUIEditor_Window[1], false)
- guiSetInputEnabled(false)
- showCursor(false)
- end
- if (IsWindowVisible == false) then
- guiSetVisible(GUIEditor_Window[1], true)
- guiSetInputEnabled(true)
- showCursor(true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment