Garry's Mod Wiki

Garry's Mod Wiki

  table ents.FindByName( string name )

Description

Gets all entities with the given hammer targetname. This works internally by iterating over ents.GetAll.

Doesn't do anything on client.

Arguments

1 string name
The targetname to look for

Returns

1 table
A table of all found entities

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...