Spawnicon:SetIconSize

From GMod Wiki

Jump to: navigation, search
Function
Syntax SpawnIcon:SetIconSize( Integer IconSize )
Description:
Size of the spawn icon
Returns: nil
In Object: SpawnIcon
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Spawnicon:SetIconSize]Spawnicon:SetIconSize [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSet the size of the SpawnIcon (in pixels).
Used onNewerClient.png
Code
local Icon = vgui.Create("SpawnIcon",myParent)
Icon:SetIconSize(100) //Default Size is 64
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox