Noneatme

Untitled

Feb 20th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.05 KB | None | 0 0
  1.     addEventHandler("onClientResourceStart",resourceRoot,
  2.     function()
  3.         --Erstellung des Panels
  4.             local sWidth, sHeight = guiGetScreenSize()
  5.      
  6.         local Width,Height = 365,215
  7.         local X = (sWidth/2) - (Width/2)
  8.         local Y = (sHeight/2) - (Height/2)
  9.             ElementP = guiCreateWindow(X, Y, Width, Height, "setElementData-Panal made by #LarSo~",false)
  10.             guiSetVisible(ElementP, false)
  11.         --Erstellung der Gridlist und "Player" Spalte
  12.             Grid = guiCreateGridList(10,25,150,180,false,ElementP)
  13.             guiGridListSetSelectionMode(Grid,2)
  14.             guiGridListAddColumn(Grid,"Player",0.2)
  15.         --Erstellung der Edits und maximim der edits
  16.             gruppe = guiCreateEdit(175,25,182,35,"",false,ElementP)
  17.             was = guiCreateEdit(175,75,182,35,"",false,ElementP)
  18.             guiEditSetMaxLength(gruppe, 10)
  19.             guiEditSetMaxLength(was, 10)
  20.         --Erstellung des Knopfes
  21.         Button = guiCreateButton(175,120,180,40,"accept",false,ElementP)
  22.         --Unwichtig
  23.         Label = guiCreateLabel(182,176,170,30,"  scripted for Xtreme-Players",false,ElementP)
  24.         guiLabelSetColor(Label,255,0,0)
  25.     end
  26. )
Advertisement
Add Comment
Please, Sign In to add comment