G.RecipientFilter

From GMod Wiki

Revision as of 10:34, 15 August 2011 by TheFreeman193 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax RecipientFilter( )
Where is this used?
Description:
Used with user messages, to limit which player(s) may recive a message.
Returns: CRecipientFilter
Part of Library: Global Functions
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.RecipientFilter]G.RecipientFilter [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionLocates and adds the first player to the recipient filter.
Used onNewerServer.png
Code
local rf = RecipientFilter()
rf:AddPlayer(player.GetByID(1))
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox