Garry's Mod Wiki

player_manager.TranslatePlayerHands

  table player_manager.TranslatePlayerHands( string name )

Description

Retrieves correct hands for given player model. By default returns citizen hands.

See player_manager.AddValidHands for defining/linking hands to a model - this must be defined somewhere otherwise the model will return citizen hands here.

Arguments

1 string name
Player model name

Returns

1 table
A table with following contents:
  • string model - Model of hands
  • number skin - Skin of hands
  • string body - Bodygroups of hands