Garry's Mod Wiki

CRecipientFilter:AddAllPlayers

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.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 2
Generate Html 0
SaveChanges (1) 11
Render Body 0
Render Sidebar 12