Advertisement
Guest User

Untitled

a guest
May 2nd, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.40 KB | None | 0 0
  1. function CreateWindow()
  2. wdwLogin = guiCreateWindow(226,146,372,233,"[Private Clans]",false)
  3. guiWindowSetMovable(wdwLogin,true)
  4. guiWindowSetSizable(wdwLogin,false)
  5. tabpanel = guiCreateTabPanel(0.0242,0.0858,0.9489,0.8755,true,wdwLogin)
  6. tab1 = guiCreateTab("Desert Eagles",tabpanel)
  7. Information= guiCreateButton ( 0.010, 0.100, 0.970, 0.800, "Click Here to spawn! This is a private clan for MP members ONLY!.", true, tab2 ))
  8. guiLabelSetColor(username,255,255,255)
  9. guiLabelSetVerticalAlign(username,"top")
  10. guiLabelSetHorizontalAlign(username,"left",false)
  11. guiSetFont(username,"default-bold-small")
  12. password = guiCreateLabel(0.0113,0.2889,0.3768,0.15,"Password:",true,tab1)
  13. guiLabelSetColor(password,255,255,255)
  14. guiLabelSetVerticalAlign(password,"top")
  15. guiLabelSetHorizontalAlign(password,"left",false)
  16. guiSetFont(password,"default-bold-small")
  17. username = guiCreateEdit(0.2266,0.1,0.3598,0.1389,localPlayerName,true,tab1)
  18. password = guiCreateEdit(0.2266,0.2611,0.3598,0.1389,"",true,tab1)
  19. guiEditSetMasked(password,true)
  20.  
  21.  
  22. tab2 = guiCreateTab("Bikers",tabpanel)
  23. Information= guiCreateButton ( 0.010, 0.100, 0.970, 0.800, "Click Here to spawn! This is a private clan and you will be invited to join.", true, tab2 )
  24.  
  25. guiSetVisible(wdwLogin,false)
  26.  
  27. function Binds()
  28.     bindKey( "F2", "down", CreateLoginWindow )
  29. end
  30. addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), Binds)
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement