Garry's Mod Wiki

Garry's Mod Wiki

  string player_manager.TranslatePlayerModel( string shortName )

Description

Returns the valid model path for a simplified name.

Arguments

1 string shortName
The short name of the model.

Returns

1 string
The valid model path for the short name.

Example

Print the valid model path for "Alyx".

Output: Console outputs: "models/player/alyx.mdl"

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...