Garry's Mod Wiki

Garry's Mod Wiki

  CRecipientFilter:AddAllPlayers()

Description

Adds all players to the recipient filter.

Example

Adds all players to a recipient filter, then uses the recipient filter in a usermessage.

function SendMessage() local filter = RecipientFilter() filter:AddAllPlayers() umsg.Start("message",filter) umsg.End() end
Output: Sends a usermessage to every player.

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...