Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local toggle = CreateClientConVar("toggle_wallhacks", 1, true, false)
- T = 0
- function NamePlates()
- if toggle:GetInt() == 1 then
- for k, v in pairs(player.GetAll()) do
- local pos = (v:GetPos() + Vector(0, 0, 85)):ToScreen()
- if v != me then
- draw.SimpleText(v:Nick(), "ScoreboardText", pos.x, pos.y, Color(255, 0, 0, 200), TEXT_ALIGN_CENTER)
- end
- end
- end
- end
- hook.Add("HUDPaint", "Unique Hook Name", NamePlates)
- concommand.Add("+wallhacks", function()
- LocalPlayer():ConCommand("toggle_wallhacks 1")
- end)
- concommand.Add("-wallhacks", function()
- LocalPlayer():ConCommand("toggle_wallhacks 0")
- end)
- local function Tog()
- LocalPlayer():ConCommand("toggle_wallhacks 1")
- T = 1
- if (T == 1) then
- LocalPlayer():ConCommand("toggle_wallhacks 0")
- end
- end
- concommand.Add("esp_tog", Tog)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement