Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add( "PreDrawHalos", "zVision", function()
- local gm = gmod.GetGamemode()
- if gm != "murder" then return end
- local murderer = GAMEMODE:GetAmMurderer()
- local numLive = numLive or {}
- local LiveTbl = LiveTbl or {}
- for k, v in ipairs(team.GetPlayers(2)) do
- if v:Alive() then
- table.insert(numLive, v)
- table.insert(LiveTbl, v)
- end
- end
- if murderer then
- if #numLive <= 4 then
- /*
- replace this number with however many people you want to be left alive to show positions, the murderer counts as being alive, so add 1 to this value. For example, if you want the last 3 players alive to show up through walls, make the value 4
- */
- halo.Add( LiveTbl, Color( 255, 165, 0 ), 0, 0, 2, true, true )
- end
- end
- end)
- //Made by Zero, with help from Fafy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement