G.RecipientFilter

From GMod Wiki

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