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: 33ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 12