Resource:Gang Manager/outputGangChat

From Multi Theft Auto: Wiki
Revision as of 22:33, 23 June 2014 by ADCX (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sends message to an gang.

Syntax

Click to collapse [-]
Server
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
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

Returns true if message was successfully sent or false otherwise.