entities.FindByClass
Find entities by their class.
Syntax
table entities.FindByClass(string:className)
Parameters
className
Name of the class.
Return value
The function returns a table of the entities found by their class.
Example
local Players = entities.FindByClass("CCSPlayer");