Garry's Mod Wiki

DKillIcon

Description

Uses the killicon to persistently draw a killicon.

Parent

Derives from Panel.

Example

Creates a DKillIcon and sets it to the crowbar killicon.

local frame = vgui.Create("DFrame") frame:SetSize(200,200) frame:Center() frame:SetTitle("DKillIcon Example") local icon = vgui.Create("DKillIcon", frame) icon:SetName("weapon_crowbar") icon:SizeToContents() icon:Center()
Output:

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 6