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: 21ms

DB GetPage 3
Generate Html 0
SaveChanges 9
Render Body 0
Render Sidebar 7