AddPlayerChatRange: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|AddPlayerChatRange(x, y, range, message)}} {{FuncParameters}} {{FuncParam|x|__EDIT_ME__}} {{FuncPa..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Add (or send) a chat message to everyone in the specified range.}}


{{FuncSyntax|AddPlayerChatRange(x, y, range, message)}}
{{FuncSyntax|AddPlayerChatRange(x, y, range, message)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|x|__EDIT_ME__}}
{{FuncParam|x|The X axis}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|y|The Y axis}}
{{FuncParam|range|__EDIT_ME__}}
{{FuncParam|range|The Z axis}}
{{FuncParam|message|__EDIT_ME__}}
{{FuncParam|message|The text message to send.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|__EDIT_ME__}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
-- code
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[AddPlayerChat]]
* [[AddPlayerChatAll]]
* [[AddPlayerChatRange]]

Revision as of 15:05, 17 November 2019

AddPlayerChatRange

Type: Function
Context: Server
Introduced: v1.0

Description

Add (or send) a chat message to everyone in the specified range.

Syntax

AddPlayerChatRange(x, y, range, message)

Parameters

  • x
    The X axis
  • y
    The Y axis
  • range
    The Z axis
  • message
    The text message to send.

Return Value

  • __EDIT_ME__

Example

-- code

See also