Garry's Mod Wiki

Garry's Mod Wiki

  table ents.FindByClassAndParent( string class, Entity parent )


Finds all entities that are of given class and are children of given entity. This works internally by iterating over ents.GetAll.


1 string class
The class of entities to search for
2 Entity parent
Parent of entities that are being searched for


1 table
A table of found entities or nil if none are found

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...