Garry's Mod Wiki

player_manager.TranslatePlayerModel

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"

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 11