Entity.GetDTEntity

From GMod Wiki

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