Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. local function DoubleRR(wep,ply)
  2.  
  3.         if (ply.NextPhysReload == nil) then
  4.  
  5.                 ply.NextPhysReload = 0
  6.                 MsgAll(ply:Nick().." used unfreeze all")
  7.                 return false
  8.         else
  9.                
  10.                 local C = CurTime()
  11.                 if (C >= ply.NextPhysReload) then
  12.                         ply.NextPhysReload = C + 0.3
  13.                 else
  14.                         MsgAll(ply:Nick().." tried to use unfreeze all")
  15.                         return false
  16.                 end
  17.         end
  18. end
  19. hook.Add("OnPhysgunReload","BO_StopPhysgunRR",PreventDoubleRR)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement