Garry's Mod Wiki

scripted_ents.GetType

  string scripted_ents.GetType( string classname )

Description

Returns the 'type' of a class, this will one of the following: 'anim', 'ai', 'brush', 'point'.

Arguments

1 string classname
The classname to check

Returns

1 string
type