A Steam avatar image (fl_avatar_panel) that opens the player's Steam profile on left
click and copies their SteamID on right click.
Assign the player with set_player. Used on the player cards of the scoreboard and in the
player management of the admin menu. Derives from AvatarImage.
Summary
Methods
Init()client
Sets the tooltip and covers the avatar with an invisible button that opens the player's Steam profile on left click and copies their SteamID on right click.
set_player(target, size)client
Sets the player whose avatar is displayed and whom the click actions apply to.
Methods
Sets the tooltip and covers the avatar with an invisible button that opens the player's Steam profile on left click and copies their SteamID on right click.
Sets the player whose avatar is displayed and whom the click actions apply to.
Parameters
- target Player
- size Number avatar resolution passed to AvatarImage:SetPlayer, e.g. 32, 64 or 184