Garry's Mod Wiki

SpawnIcon:SetSkinID

  SpawnIcon:SetSkinID( number skin )

Description

This is used internally - although you're able to use it you probably shouldn't. This is done automatically by SpawnIcon. You do not need to call this. Doing so may cause unforeseen consequences.

Sets the skin id of the spawn icon, so it can be retrieved with SpawnIcon:GetSkinID. Use Panel:SetModel instead.

Arguments

1 number skin
Skin ID to set