Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. --{ Avatar }--
  2.  
  3. -- Player's Avatar
  4.  
  5. local Avatar = vgui.Create( "AvatarImage" )
  6. Avatar:SetSize( 70, 70 )
  7. Avatar:SetPos( x+30, y+5 )
  8. Avatar:SetPlayer( LocalPlayer(), 64 )
  9.  
  10. -- Material
  11.  
  12. surface.SetDrawColor( 255, 255, 255, 255 )
  13. surface.SetMaterial( Material( "materials/imperium_hud/avatar_outline.png" ) )
  14. surface.DrawTexturedRect( x+30, y+5, 75, 75 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement