Garry's Mod Wiki

derma.SkinTexture

  function derma.SkinTexture( string name, Panel pnl, any fallback = nil )

Description

Returns a function to draw a specified texture of panels skin.

Arguments

1 string name
The identifier of the texture
2 Panel pnl
Panel to get the skin of.
3 any fallback = nil
What to return if we failed to retrieve the texture

Returns

1 function
A function that is created with the GWEN to draw a texture.