Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include("shared.lua");
- anti_equip = 0
- function ENT:Draw()
- self:DrawModel();
- end;
- net.Receive("CanUse", function()
- if timer.Exists("Cooldown") then
- LocalPlayer():ChatPrint("You must wait 30 seconds before equipping another suit!")
- do return end
- else
- net.Start("WearIt")
- net.SendToServer()
- timer.Create("Cooldown", 30, 1, function()
- end)
- timer.Simple(31, function()
- timer.Remove("Cooldown")
- end)
- end
- end)
- --[[net.Receive("AgilityHUD", function()
- image = Material("materials/vgui/test/ahud.png")
- hook.Add( "HUDPaint", "AHUD", function()
- surface.SetMaterial( Material( "vgui/test/ahud.png" ) ) --Use dir icon16/ for silkicons
- surface.DrawTexturedRect(0,0,300,300)
- end )
- -- hook.Remove("HUDPaint", "AHUD")
- end)--]] -- LUCIOUS FIX THE FUCKING HUD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement