Guest User

Untitled

a guest
Jul 18th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. ; Create new character button
  2. If GY_ButtonHit(CharButtons(LastChar)) = True
  3.  
  4. ; Create the windows
  5. window = GY_CreateWindow("", 0.5, 0.0, 0.5, 1)
  6. window2 = GY_CreateWindow("", 0.0, 0.0, 0.5, 1)
  7. BFaction = GY_CreateCustomButton(0, 0.5, 0.0, .5, 1, LoadButtonU("faction"), LoadButtonD("faction"), LoadButtonH("faction"))
  8. BFaction2 = GY_CreateCustomButton(0, 0.0, 0.0, .5, 1, LoadButtonU("faction2"), LoadButtonD("faction2"), LoadButtonH("faction2"))
  9.  
  10. F = GY_CreateQuad(Cam)
  11. PositionEntity(F, -10.0, 7.5, 10.0)
  12. ScaleEntity(F, 20.0, 15.0, 1.0)
  13. EntityOrder(F, 1)
  14. ft = LoadTexture("Data\Textures\Menu\black.png", 1)
  15. frame=MilliSecs()/150 Mod 50
  16. EntityTexture(F, ft)
  17. If ft = 0 Then RuntimeError("File not found: Data\Textures\Menu\black.png!")
  18. FreeTexture(ft2)
  19. BFaction = GY_CreateCustomButton(0, 0.5, 0.0, .5, 1, LoadButtonU("faction"), LoadButtonD("faction"), LoadButtonH("faction"))
  20. BFaction2 = GY_CreateCustomButton(0, 0.0, 0.0, .5, 1, LoadButtonU("faction2"), LoadButtonD("faction2"), LoadButtonH("faction2"))
  21.  
  22. If GY_ButtonHit(BFaction2) = True
  23. GY_FreeGadget(BFaction2)
  24. GY_FreeGadget(BFaction)
  25. HideEntity(F)
  26. Tname = GY_CreateTextField(0, 0.5, 0.5, 0.35, 4, 25)
  27. EntityOrder(Tname, 50) ; Verification Textfield
  28. EndIf
Add Comment
Please, Sign In to add comment