ents.GetAll
From GMod Wiki
Function | |
Syntax |
ents.GetAll( ) Where is this used? |
Description: | |
Find all entities | |
Returns: | Table :Entity |
Part of Library: | Ents |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Ents.GetAll]Ents.GetAll [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Prints the class of every entity in the map |
---|---|
Used on | |
Code | for k, v in pairs( ents.GetAll() ) do print(v:GetClass()) end |
Output | N/A |