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.

Issue Tracker: 2872

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: 28ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 12