Garry's Mod Wiki

Panel:SetSpawnIcon

Panel:SetSpawnIcon( string icon )

Description

Sets the .png image to be displayed on a SpawnIcon or the panel it is based on ModelImage.

Only .png images can be used with this function.

Arguments

1 string icon
A path to the .png material, for example one of the Silkicons shipped with the game.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 3
Generate Html 4
SaveChanges 9
Render Body 0
Render Sidebar 12