Entity:SetBodygroup
Description
Sets the currently active Sub Model ID for the Body Group corresponding to the given Body Group ID of the Entity's model.
Bodygroups, for which Entity:GetBodygroupCount returns 1
or less are considered invalid, and will have no effect in-game.
When used on a Weapon, this will modify its viewmodel.