Garry's Mod Wiki

widgets.RenderMe

widgets.RenderMe( Entity ent )

Description

Renders a widget. Normally you won't need to call this.

Arguments

1 Entity ent
Widget entity to render

Example

Example usage in lua/entities/widget_base.lua

function ENT:Draw() widgets.RenderMe( self ) end

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 6