Advertisement
Silverlan

Untitled

Dec 25th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local blockCvarNotify = {
  2.     "ai_disabled"
  3. }
  4. hook.Add("ChatText","cock",function(pl,plName,text,type)
  5.     if(type != "none") then return end
  6.     for _,cv in ipairs(blockCvarNotify) do
  7.         if(string.Left(text,-3) == "Server cvar '" .. cv .. "' changed to") then
  8.             return true
  9.         end
  10.     end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement