Global/TypeID

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Bug)
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
|Name=TypeID
 
|Name=TypeID
 
|Parent=Global
 
|Parent=Global
|Description=Gets the associated type id of the variable.
+
|Description=Gets the associated type ID of the variable.
 +
 
 +
{{Bug|Request=1120|This does not work properly with _LOADLIB objects.}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No
Line 9: Line 11:
 
|type=any
 
|type=any
 
|name=variable
 
|name=variable
|desc=The variable to get the type id of.
+
|desc=The variable to get the type ID of.
 +
}}
 +
{{Ret
 +
|type=number
 +
|desc=The type ID of the variable. See the {{Enum|TYPE}}.
 
}}
 
}}

Revision as of 20:09, 2 August 2018

 TypeID( )

Description

Gets the associated type ID of the variable.

BUG

This does not work properly with _LOADLIB objects.

Request Tracker: #1120

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