RecipientFilter

From Garry's Mod
Jump to: navigation, search
 RecipientFilter( )

Contents

Description

Creates a new CRecipientFilter.

Returns

CRecipientFilter

The new created recipient filter.

Examples

Example

Example usage of the function

local rf = RecipientFilter()
rf:AddAllPlayers()
print( rf:GetCount() )
PrintTable( rf:GetPlayers() )

Output:

2

1 = Player [1][Player #1] 2 = Player [2][Player #2]

Personal tools
Navigation