Guest User

Untitled

a guest
Sep 2nd, 2011
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. addEventHandler("onClientResourceStart",resourceRoot,
  2.     function()
  3.         guiCreateButton(100,400,40,40,"",false)
  4.         guiCreateCheckBox(100,450,40,40,"",false,false)
  5.         guiCreateEdit(100,500,40,40,"",false)
  6.         guiCreateGridList(100,550,40,40,false)
  7.         guiCreateMemo(100,600,40,40,"",false)
  8.        
  9.         guiCreateProgressBar(200,400,40,40,false)
  10.         guiCreateRadioButton(200,450,40,40,"",false)
  11.         guiCreateScrollBar(200,500,40,40,false,false)
  12.         guiCreateScrollPane(200,550,40,40,false)
  13.         guiCreateStaticImage(200,600,40,40,":freeroam/playerblip.png",false)
  14.        
  15.         guiCreateTabPanel(300,400,40,40,false)
  16.         guiCreateTab("tab",guiCreateTabPanel(300,450,40,40,false)) 
  17.         guiCreateLabel(300,500,40,40,"label",false)
  18.         guiCreateWindow(300,550,40,40,"",false)
  19.         guiCreateComboBox(300,600,40,40,"",false)
  20.        
  21.         addEventHandler("onClientMouseEnter",root,
  22.             function()
  23.                 outputDebugString("Enter: "..getElementType(source))
  24.             end
  25.         )
  26.        
  27.         addEventHandler("onClientMouseLeave",root,
  28.             function()
  29.                 outputDebugString("Leave: "..getElementType(source))
  30.             end
  31.         )
  32.  
  33.         addEventHandler("onClientMouseMove",root,
  34.             function()
  35.                 outputDebugString("Move: "..getElementType(source))
  36.             end
  37.         )
  38.  
  39.         addEventHandler("onClientMouseWheel",root,
  40.             function()
  41.                 outputDebugString("Wheel: "..getElementType(source))
  42.             end
  43.         )              
  44.     end
  45. )
RAW Paste Data