Guest User

Untitled

a guest
May 10th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. local zugjob = createPickup(2058.1000976563, -1912.4000244141, 13, 3, 1239, 1 )
  2. GUIEditor = {}
  3. GUIEditor.window = {}
  4. GUIEditor.button = {}
  5.  
  6. GUIEditor.window[1] = guiCreateWindow(550, 112, 208, 275, "Lockführer", false)
  7. guiWindowSetSizable(GUIEditor.window[1], false)
  8.  
  9. GUIEditor.button[1] = guiCreateButton(11, 232, 83, 33, "Annehmen", false, GUIEditor.window[1])
  10. GUIEditor.button[2] = guiCreateButton(115, 232, 83, 33, "Schließen", false, GUIEditor.window[1])
  11. GUIEditor.button[3] = guiCreateButton(12, 22, 176, 58, "Lockführer von Los Santos nach San Fierro , 900€", false, GUIEditor.window[1])
  12. GUIEditor.button[4] = guiCreateButton(12, 90, 176, 58, "Coming Soon", false, GUIEditor.window[1])
  13. GUIEditor.button[5] = guiCreateButton(12, 158, 176, 58, "Coming Soon", false, GUIEditor.window[1])
  14.  
  15. guiSetVisible(GUIEditor.window[1],false)
  16.  
  17. function showGUIonPickupHit()
  18. guiSetVisible( GUIEditor.window[1], true )
  19. showCursor( true )
  20. end
  21. addEventHandler("onClientPickupHit", zugjob, showGUIonPickupHit)
  22.  
  23. addEventHandler("onClientGUIClick", GUIEditor.button[2],
  24. function (button,state)
  25. if button == "left" then
  26. guiSetVisible(GUIEditor.window[1],false)
  27. showCursor(false)
  28. end
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment