Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CreateClientConVar( "esp_r" , 255, true ,false) //set the pos of the "info" y
- CreateClientConVar( "esp_g" , 0, true ,false) //set the pos of the "info" y
- CreateClientConVar( "esp_b" , 0, true ,false) //set the pos of the "info" y
- hook.Add("HUDPaint","",function()
- for k, v in next, player.GetAll() do
- local Pos = (v:GetPos()+Vector(0,0,80)):ToScreen()
- if v:Alive() and v:IsValid() and v != LocalPlayer() then
- surface.SetFont("trebuchet18")
- surface.SetTextColor(Color(GetConVarNumber("esp_r"),GetConVarNumber("esp_g"),GetConVarNumber("esp_b"),255))
- surface.SetTextPos( Pos.x , Pos.y )
- surface.DrawText( v:GetName())
- end
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement