player_manager.AllValidModels

From Garry's Mod
Jump to: navigation, search
 player_manager.AllValidModels( )

Description

Returns the entire list of valid player models.

Examples

Example

Store the list of valid player models in a local variable, and print the valid model path for "Alyx"

local models = player_manager.AllValidModels()
print(models["alyx"])

Output:

Console outputs: "models/player/alyx.mdl"
Personal tools
Navigation