Garry's Mod Wiki

Garry's Mod Wiki

  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]

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...