Garry's Mod Wiki

scripted_ents.Alias

  scripted_ents.Alias( string alias, string classname )

Description

Defines an alias string that can be used to refer to another classname

Arguments

1 string alias
A new string which can be used to refer to another classname
2 string classname
The classname the alias should refer to