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 }}")
 
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
|Name=GetDTBool
 
|Name=GetDTBool
 
|Parent=Entity
 
|Parent=Entity
|Description=
+
|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
 +
|type=number
 +
|name=key
 +
|desc=Goes from 0 to 63.
 +
Specifies what key to grab from datatable.
 +
}}
 +
{{Ret
 +
|type=boolean
 +
|desc=Requested boolean.
 
}}
 
}}

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