Advertisement
Guest User

Admin Weapons

a guest
Jul 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. hook.Add("PlayerSpawn","WEAPONS_ADMIN",function(ply)
  2. local switch = {
  3.  
  4. ["supporter"] = function(ply)
  5. ply:Give("keys")
  6. end,
  7. ["moderator"] = function(ply)
  8. ply:Give("keys")
  9. end,
  10. ["admin"] = function(ply)
  11. ply:Give("keys")
  12. end
  13.  
  14. }
  15.  
  16. if switch[ply:UserGroup()] then
  17. switch[ply:UserGroup()](ply)
  18. else
  19. then ply:ChatPrint("You are in no Admin Group and therefor receive no Special Weapons.")
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement