Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 8
Generate Html 11
SaveChanges (1) 11
Render Body 0
Render Sidebar 12