player_manager.AddValidHands
player_manager.AddValidHands( string name, string model, number skin = 0, string bodygroups = "0000000", boolean matchBodySkin = false )
Description
Assigns view model hands to player model.
Arguments
4 string bodygroups = "0000000"
Bodygroups to apply to the hands. See Entity:SetBodyGroups for help with the format.
5 boolean matchBodySkin = false
If set to
true
, the skin of the hands will be set to the skin of the playermodel.
This is useful when player models have multiple user-selectable skins.Example
Adds CS:S hands for hostage playermodels