Advertisement
Guest User

cl_init.lua

a guest
May 22nd, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. include("shared.lua");
  2. anti_equip = 0
  3.  
  4. function ENT:Draw()
  5. self:DrawModel();
  6. end;
  7.  
  8. net.Receive("CanUse", function()
  9. if timer.Exists("Cooldown") then
  10. LocalPlayer():ChatPrint("You must wait 30 seconds before equipping another suit!")
  11. do return end
  12. else
  13. net.Start("WearIt")
  14. net.SendToServer()
  15. timer.Create("Cooldown", 30, 1, function()
  16.  
  17. end)
  18.  
  19. timer.Simple(31, function()
  20. timer.Remove("Cooldown")
  21. end)
  22. end
  23.  
  24. end)
  25.  
  26. --[[net.Receive("AgilityHUD", function()
  27.  
  28. image = Material("materials/vgui/test/ahud.png")
  29. hook.Add( "HUDPaint", "AHUD", function()
  30.  
  31. surface.SetMaterial( Material( "vgui/test/ahud.png" ) ) --Use dir icon16/ for silkicons
  32. surface.DrawTexturedRect(0,0,300,300)
  33.  
  34.  
  35. end )
  36. -- hook.Remove("HUDPaint", "AHUD")
  37.  
  38. end)--]] -- LUCIOUS FIX THE FUCKING HUD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement