player_manager.AddValidHands

From Garry's Mod
Jump to: navigation, search
 player_manager.AddValidHands( )

Contents

Description

Assigns view model hands to player model.

Arguments

string name

Player model name

Arguments

string model

Hands model

Arguments

number skin

Skin to apply to the hands

Arguments

string bodygroups

Bodygroups to apply to the hands

Examples

Example

Adds CS:S hands for hostage playermodels

player_manager.AddValidHands( "hostage01", "models/weapons/c_arms_cstrike.mdl", 0, "10000000" )
player_manager.AddValidHands( "hostage02", "models/weapons/c_arms_cstrike.mdl", 0, "10000000" )
player_manager.AddValidHands( "hostage03", "models/weapons/c_arms_cstrike.mdl", 0, "10000000" )
player_manager.AddValidHands( "hostage04", "models/weapons/c_arms_cstrike.mdl", 0, "10000000" )


Personal tools
Navigation