TypeID

From Garry's Mod
Jump to: navigation, search
 TypeID( )

Description

Gets the associated type ID of the variable.

BUG

This returns garbage for _LOADLIB objects.

Request Tracker: #1120

BUG

This returns TYPE_NIL for protos.

Request Tracker: #1459

Arguments

any variable

The variable to get the type ID of.

Returns

number

The type ID of the variable. See the TYPE_ Enums.
Personal tools
Navigation