Category:AvatarImage

From Garry's Mod
Jump to: navigation, search

Contents

DescriptionPanelPage

Used to show a player's Steam avatar. You are recommended but not limited to pick one of the following sizes: 16, 32, 64, 84, 128, 184.

Inherited Functions

Inherits the following functions from Panel and its parents up to 3 levels deep:


Examples

Example

Creates an AvatarImage with the LocalPlayer's avatar inside.

local Avatar = vgui.Create( "AvatarImage", Panel )
Avatar:SetSize( 64, 64 )
Avatar:SetPos( 4, 4 )
Avatar:SetPlayer( LocalPlayer(), 64 )


Pages in category "AvatarImage"

The following 2 pages are in this category, out of 2 total.

Personal tools
Navigation