Garry's Mod Wiki

Panel:SetModel

Panel:SetModel( string ModelPath, number skin = 0, string bodygroups )

Description

Sets the model to be displayed by SpawnIcon.

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

Arguments

1 string ModelPath
The path of the model to set
2 number skin = 0
The skin to set
3 string bodygroups
The body groups to set. Each single-digit number in the string represents a separate bodygroup, This argument must be 9 characters in total.

Page Links


Special Pages


Wikis

?

Render Time: 72ms

DB GetPage 37
Generate Html 7
SaveChanges (1) 13
Render Body 0
Render Sidebar 12