daily pastebin goal
17%
SHARE
TWEET

Gmod Admin Halos

Zero03 Jan 28th, 2019 (edited) 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hook.Add("PreDrawHalos", "AdminVision", function()
  2. local ply = LocalPlayer()
  3. local CanSee = CanSee or {}
  4. local IsLive = IsLive or {}
  5.  
  6. local ranksESP = {
  7.     superadmin = true,
  8.     senioradmin = true,
  9.     admin = true,
  10.     trialadmin = true,
  11. }
  12.  
  13. if ranksESP[ply:GetUserGroup()] then
  14. for k, v in ipairs(team.GetPlayers(2)) do
  15.     if v:Alive() then
  16.     table.insert(IsLive, v)
  17.     end
  18. end
  19.     if ply:Team() == 1 or ply:Team() == TEAM_UNASSIGNED then
  20.         table.insert(CanSee, ply)
  21.     else return end
  22.     if CanSee then
  23.         halo.Add(IsLive, Color(30,255,255), 0, 0, 4, true, true)
  24.     end
  25. end
  26. end)
  27. //Esp for admins, made by Zero & Pancake
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