TrailerDorken

Untitled

May 3rd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local bad_cmds = {
  2.     "smeg",
  3.     "hack",
  4.     "aa_reload",
  5.     "aimbot",
  6.     "esp",
  7.     "cheat",
  8.     "exploit"
  9. }
  10.  
  11. timer.Create("ConCheck",30,0, function()
  12.     for _, cmd in pairs(concommand.GetTable()) do
  13.         if good_cmds[_] then
  14.             return false
  15.         end
  16.  
  17.         for i, frag in ipairs(bad_cmds) do
  18.             if string.find(_,frag) or _ == frag then
  19.                 ZAC.Detect("bad_cmd", _)
  20.             end
  21.         end
  22.     end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment