Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. local allowedJobs = {
  2. ["Cannibal"] = true,
  3. }
  4.  
  5. hook.Add("onChatCommand", "ChatCommand" function(ply, cmd, args, ret)
  6. if cmd == "/eat" then
  7. if allowedJobs[team.GetName(ply:Team())] == true then
  8. --Code
  9. end
  10. end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement