Garry's Mod Wiki

TypeID

TypeID

  number TypeID( any variable )

Description

Gets the associated type ID of the variable. Unlike type, this does not work with no value - an argument must be provided.

This returns garbage for _LOADLIB objects.
This returns TYPE_NIL for protos.

Arguments

1 any variable
The variable to get the type ID of.

Returns

1 number
The type ID of the variable. See the Enums/TYPE.

Special Pages


Wikis

?

Render Time: 58ms

DB GetPage 39
Generate Html 5
SaveChanges (1) 6
Render Body 0
Render Sidebar 6