Panel/SetModel

From Garry's Mod
Jump to: navigation, search
 Panel:SetModel( )

Contents

Description

Sets the model to be displayed by SpawnIcon.
NOTE

This must be called after setting size if you wish to use a different size spawnicon

Arguments

string ModelPath

The path of the model to set

Arguments

number skin=0

The skin to set

Arguments

string bodygroups=""

The body groups to set. Each single-digit number in the string represents a separate bodygroup, up to 9 in total.
Personal tools
Navigation