Garry's Mod Wiki

ents.FindByModel

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.

Special Pages


Wikis

?

Render Time: 54ms

DB GetPage 36
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7