Player:SetupHands
Description
Sets up the player's hands for the viewmodel. Calls GM:PlayerSetHandsModel to determine the model. If no entity is provided, uses the player's own hands model. If spectating another entity, pass that entity to use its hands model instead.
Arguments
1 Entity ent = nil
If the player is spectating an entity, this should be the entity the player is spectating, so we can use its hands model instead.
Garry's Mod
Rust
Steamworks
Wiki Help