ents.FindByModel

From Garry's Mod
Jump to: navigation, search
 ents.FindByModel( )

Description

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

Arguments

string model

The model of the entities to find.

Returns

table

A table of all found entities.
Personal tools
Navigation