Garry's Mod Wiki

CRecipientFilter:RemoveMismatchedPlayers

  CRecipientFilter:RemoveMismatchedPlayers( CRecipientFilter input )

Description

Remove players from this recipient filter that are NOT present in a given table or recipient filter.

Arguments

1 CRecipientFilter input
The filter that contains a list of players to test against. Players NOT in the given filter will be removed from this filter.

This can also be a sequential table of players. Non player entities will be ignored.