Guest User

Untitled

a guest
May 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1.  
  2. local function Wallhack()
  3.     for k,v in pairs( ents.GetAll() ) do
  4.         local Position = ( v:GetPos() + Vector( 0, 0, 80) ):ToScreen()
  5.         if v:IsPlayer() then
  6.             draw.DrawText( v:Name(), "MenuLarge", Position.x, Position.y, Color( 255, 0, 0, 255), TEXT_ALIGN_CENTER)
  7.         elseif v:IsNPC() then
  8.             draw.DrawText( v:GetClass(), "MenuLarge", Position.x, Position.y, Color( 255, 0, 0, 255), TEXT_ALIGN_CENTER)
  9.         end
  10.     end
  11. end
  12.  
  13. hook.Add("HUDPaint", "walhax", Wallhack)
Add Comment
Please, Sign In to add comment