Garry's Mod Wiki

Revision Difference

player_manager.TranslateToPlayerModelName#547047

<function name="TranslateToPlayerModelName" parent="player_manager" type="libraryfunc"> <description> Returns the simplified name for a valid model path of a player model. Opposite of <page>player_manager.TranslatePlayerModel</page>. </description> <realm>Shared</realm> <file line="57-L67">lua/includes/modules/player_manager.lua</file>⤶ <args> <arg name="model" type="string">The model path to a player model</arg> </args> <rets> <ret name="" type="string">The simplified name for that model</ret> </rets> </function>