SHARE
TWEET

Untitled

a guest May 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local cmds = concommand.GetTable()
  2.  
  3. local strings = {}
  4.  
  5. for k, v in pairs(cmds) do
  6.     table.insert(strings, k)
  7. end
  8.  
  9. local lastChat = CurTime()
  10. local num = 1
  11. hook.Add("Think", "WhatAreMyCommands", function()
  12.  
  13.     if lastChat+2 <= CurTime() then
  14.  
  15.         if not strings[num] then
  16.             hook.Remove("Think", "WhatAreMyCommands")
  17.             return
  18.         end
  19.  
  20.         RunConsoleCommand("say", tostring(strings[num]))
  21.         num = num + 1
  22.     end
  23.  
  24. end)
  25. '+
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top