Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local allowedJobs = {
- ["Cannibal"] = true,
- }
- hook.Add("onChatCommand", "ChatCommand" function(ply, cmd, args, ret)
- if cmd == "/eat" then
- if allowedJobs[team.GetName(ply:Team())] == true then
- --Code
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement