Entity.GetDTEntity

From GMod Wiki

Revision as of 13:55, 6 June 2010 by TheJ89 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Entity:GetDTEntity( Var Key )
Description:
Gets a DTEntity.
Returns: Entity
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.GetDTEntity]Entity.GetDTEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionGets the first DTEntity
Used onNewerShared.png
Code
print(ent:GetDTEntity(0))
OutputUnless you've set it to something else, NULL.


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox