Garry's Mod Wiki

RecipientFilter

CRecipientFilter RecipientFilter( boolean unreliable = false )

Description

Creates a new CRecipientFilter.

Arguments

1 boolean unreliable = false
If set to true, makes the filter unreliable.

This means, when sending over the network in cases like CreateSound (and its subsequent updates), the message is not guaranteed to reach all clients.

Returns

1 CRecipientFilter
The new created recipient filter.

Example

Example usage of the function

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

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 3
Generate Html 8
SaveChanges (1) 12
Render Body 0
Render Sidebar 7