Entity/GetDTBool

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Document)
 
Line 2: Line 2:
 
|Name=GetDTBool
 
|Name=GetDTBool
 
|Parent=Entity
 
|Parent=Entity
|Description=Get a boolean stored in the datatable of the entity.
+
|Description={{Internal}}
 +
This is called internally by the {{ClassFunction|Entity|NetworkVar}} system, you can use this in cases where using NetworkVar is not possible.
 +
 
 +
Get a boolean stored in the datatable of the entity.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 
}}
 
}}
 
{{Arg
 
{{Arg
|type=any
+
|type=number
 
|name=key
 
|name=key
|desc=Can be a string or number.
+
|desc=Goes from 0 to 63.
 
Specifies what key to grab from datatable.
 
Specifies what key to grab from datatable.
 
}}
 
}}

Latest revision as of 08:11, 28 May 2014

 Entity:GetDTBool( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

This is called internally by the Entity:NetworkVar system, you can use this in cases where using NetworkVar is not possible.

Get a boolean stored in the datatable of the entity.

Arguments

number key

Goes from 0 to 63.

Specifies what key to grab from datatable.

Returns

boolean

Requested boolean.
Personal tools
Navigation