Resource:Gang Manager/outputGangChat: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server client function}} Sends message to an gang. ==Syntax== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">outputGangChat ( string Gang, string AccountNa...")
 
No edit summary
 
Line 1: Line 1:
{{Server client function}}
{{Server client function}}
Sends message to an gang.
Sends message to gang member chat.


==Syntax==
==Syntax==
<section name="Server" class="server" show="true">
<section name="Server" class="server" show="true">
<syntaxhighlight lang="lua">outputGangChat ( string Gang, string AccountName, string PlayerName, string Message )</syntaxhighlight>
<syntaxhighlight lang="lua">bool outputGangChat ( string Gang, string AccountName, string PlayerName, string Message )</syntaxhighlight>


==Required Arguments==
==Required Arguments==
Line 13: Line 13:
</section>
</section>
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">outputGangChat ( string Gang, string AccountName, string PlayerName, string Message )</syntaxhighlight>
<syntaxhighlight lang="lua">bool outputGangChat ( string Gang, string AccountName, string PlayerName, string Message )</syntaxhighlight>


==Required Arguments==
==Required Arguments==
Line 23: Line 23:


==Returns==
==Returns==
Returns ''true'' if message was successfully sent or ''false'' otherwise.
*'''Success:''' Boolean that is true if message was successfully sent or false otherwise

Latest revision as of 23:27, 23 June 2014

Sends message to gang member chat.

Syntax

Click to collapse [-]
Server
bool outputGangChat ( string Gang, string AccountName, string PlayerName, string Message )

Required Arguments

  • Gang: ID of the gang you wish to output message to
  • AccountName: Name of the account that is the source of the message (can be any string)
  • PlayerName: Name of the player that is the source of the message (can be any string)
  • Message: Message to output to gang chat
Click to collapse [-]
Client
bool outputGangChat ( string Gang, string AccountName, string PlayerName, string Message )

Required Arguments

  • Gang: ID of the gang you wish to output message to
  • AccountName: Name of the account that is the source of the message (can be any string)
  • PlayerName: Name of the player that is the source of the message (can be any string)
  • Message: Message to output to gang chat

Returns

  • Success: Boolean that is true if message was successfully sent or false otherwise