Spawnicon:SetIconSize
From GMod Wiki
Function | |
Syntax | SpawnIcon:SetIconSize( Integer IconSize ) |
Description: | |
Size of the spawn icon | |
Returns: | nil |
In Object: | SpawnIcon |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Spawnicon:SetIconSize]Spawnicon:SetIconSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Set the size of the SpawnIcon (in pixels). |
---|---|
Used on | |
Code | local Icon = vgui.Create("SpawnIcon",myParent) Icon:SetIconSize(100) //Default Size is 64 |
Output | N/A |