Garry's Mod Wiki

Garry's Mod Wiki

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

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 = nil
The body groups to set. Each single-digit number in the string represents a separate bodygroup, This argument must be 9 characters in total.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...