Entity/GetDTBool

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=GetDTBool |Parent=Entity |Description= |Realm=Shared |IsClass=Yes }}")
 
(Document)
Line 2: Line 2:
 
|Name=GetDTBool
 
|Name=GetDTBool
 
|Parent=Entity
 
|Parent=Entity
|Description=
+
|Description=Get a boolean stored in the datatable of the entity.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 +
}}
 +
{{Arg
 +
|type=any
 +
|name=key
 +
|desc=Can be a string or number.
 +
Specifies what key to grab from datatable.
 +
}}
 +
{{Ret
 +
|type=boolean
 +
|desc=Requested boolean.
 
}}
 
}}

Revision as of 00:34, 13 May 2013

 Entity:GetDTBool( )

Description

Get a boolean stored in the datatable of the entity.

Arguments

any key

Can be a string or number.

Specifies what key to grab from datatable.

Returns

boolean

Requested boolean.
Personal tools
Navigation