Garry's Mod Wiki
Description
Gets the children of the entity - that is, every entity whose move parent is this entity.
This function returns Entity:SetMoveParent children, NOT Entity:SetParent!
Entity:SetParent however also calls Entity:SetMoveParent.
This means that some entities in the returned list might have a NULL Entity:GetParent.
This also means that using this function on players will return their weapons on the client but not the server.
Returns
Example
Example usage and output
Output: 1 = Entity [184][prop_dynamic]
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...