AddPlayerChatAll: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|AddPlayerChatAll(message)}} {{FuncParameters}} {{FuncParam|message|__EDIT_ME__}} {{FuncReturnValu...")
 
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 on the server.}}


{{FuncSyntax|AddPlayerChatAll(message)}}
{{FuncSyntax|AddPlayerChatAll(message)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|message|__EDIT_ME__}}
{{FuncParam|message|The text message to send to everyone on the server.}}


{{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

AddPlayerChatAll

Type: Function
Context: Server
Introduced: v1.0

Description

Add (or send) a chat message to everyone on the server.

Syntax

AddPlayerChatAll(message)

Parameters

  • message
    The text message to send to everyone on the server.

Return Value

  • __EDIT_ME__

Example

-- code

See also