LocalPlayer():ChatPrint("Names Loaded")
hook.Add( "HUDPaint", "Wallhack", function()
for k,v in pairs ( player.GetAll() ) do
if(LocalPlayer():Alive() = true) then
local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
draw.DrawText( v:Name(), "ChatFont", Position.x, Position.y, Color( 10, 255, 0, 255 ), 1 )
else
LocalPlayer():ChatPrint("names off")
end
end )

LocalPlayer():ChatPrint("Names Loaded")
hook.Add( "HUDPaint", "Wallhack", function()
for k,v in pairs (player.GetAll()) do
if v ~= LocalPlayer() then
if(LocalPlayer():Alive() = true then
local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
draw.DrawText( v:Name(), "ChatFont", Position.x, Position.y, Color( 10, 255, 0, 255 ), 1 )
else
LocalPlayer():ChatPrint("names off")
end)
end)
LocalPlayer():ChatPrint("Names Loaded")
hook.Add( "HUDPaint", "Wallhack", function()
for k,v in pairs (player.GetAll()) do
if GetConVarNumber("Wallhack") >= 1 then
if v ~= LocalPlayer() then
if(LocalPlayer():Alive() then
local Position = ( v:GetPos() + Vector( 0,0,80 ) ):ToScreen()
draw.DrawText( v:Name(), "ChatFont", Position.x, Position.y, Color( 10, 255, 0, 255 ), 1 )
else
LocalPlayer():ChatPrint("names off")
end)
end)
CreateClientConVar("Wallhack", 0, true, false)