Garry's Mod Wiki

Revision Difference

Player:SetupHands#560266

<function name="SetupHands" parent="Player" type="classfunc"> <description>Sets up the players view model hands. Calls <page>GM:PlayerSetHandsModel</page> to set the model of the hands.</description> <realm>Server</realm> <file line="214-L229">lua/includes/extensions/player.lua</file> <file line="185-L200">lua/includes/extensions/player.lua</file> <args> <arg name="ent" type="Entity">If the player is spectating an entity, this should be the entity the player is spectating, so we can use its hands model instead.</arg> </args> </function>