Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. include("shared.lua")
  2. include("teampick.lua")
  3. include("classpick.lua")
  4.  
  5. local menuopendelay = 0
  6.  
  7. hook.Add( "Think", "uibuttonthing", function()
  8.  
  9. if input.IsKeyDown( KEY_F4 ) then
  10.  
  11. if menuopendelay < CurTime() then
  12. menuopendelay = CurTime() + 1
  13. openclasspickmenu()
  14. end
  15. end
  16.  
  17. if input.IsKeyDown( KEY_F3 ) then
  18.  
  19. if menuopendelay < CurTime() then
  20. menuopendelay = CurTime() + 1
  21. openteampickmenu()
  22. end
  23. end
  24. end)
  25.  
  26.  
  27. net.Receive("ClientSendStuff", function()
  28.  
  29. classinfolist_global = net.ReadTable()
  30.  
  31. teamslist_global = net.ReadTable()
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement