Garry's Mod Wiki

ents.FindByName

ents.FindByName

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

Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 18
Generate Html 3
SaveChanges (1) 29
Render Body 0
Render Sidebar 6