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..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{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| | {{FuncParam|x|The X axis}} | ||
{{FuncParam|y| | {{FuncParam|y|The Y axis}} | ||
{{FuncParam|range| | {{FuncParam|range|The Z axis}} | ||
{{FuncParam|message| | {{FuncParam|message|The text message to send.}} | ||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
-- code | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[AddPlayerChat]] | |||
* [[AddPlayerChatAll]] | |||
* [[AddPlayerChatRange]] |
Revision as of 15:05, 17 November 2019
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