Garry's Mod Wiki

CRecipientFilter:GetPlayers

Description

Returns a table of all valid players currently in the recipient filter.

Returns

1 table
A table of all valid players currently in the recipient filter.

Example

Example usage of the function

Output:
2 1 = Player [1][Player #1] 2 = Player [2][Player #2]