Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("PlayerSpawn","WEAPONS_ADMIN",function(ply)
- local switch = {
- ["supporter"] = function(ply)
- ply:Give("keys")
- end,
- ["moderator"] = function(ply)
- ply:Give("keys")
- end,
- ["admin"] = function(ply)
- ply:Give("keys")
- end
- }
- if switch[ply:UserGroup()] then
- switch[ply:UserGroup()](ply)
- else
- then ply:ChatPrint("You are in no Admin Group and therefor receive no Special Weapons.")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement