Garry's Mod Wiki

ents.FindByModel

table ents.FindByModel( string model )

Description

Gets all entities with the given model, supports wildcards. This works internally by iterating over ents.GetAll.

This currently only supports trailing asterisks (*) for wildcards.

Arguments

1 string model
The model of the entities to find.

Returns

1 table
A table of all found entities.

Page Links


Special Pages


Wikis

?

Render Time: 39ms

Session 0
DB GetPage 7
Generate Html 9
SaveChanges 8
Render Body 0
Render Sidebar 12