Resource:Gang Manager/setGangMoney: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server function}} Sets money of the gang. ==Syntax== <syntaxhighlight lang="lua"> setGangMoney ( string Gang, integer Money ) </syntaxhighlight> ===Required Arguments=== *'''Gang:''' ID of the gang...")
 
No edit summary
 
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
setGangMoney ( string Gang, integer Money )
bool setGangMoney ( string Gang, integer Money )
</syntaxhighlight>
</syntaxhighlight>


Line 12: Line 12:


===Returns===
===Returns===
Returns ''true'' if gang money was successfully set or ''false'' otherwise.
*'''Success:''' Boolean that is true if the gang money is successfully set or false otherwise

Latest revision as of 23:29, 23 June 2014

Sets money of the gang.

Syntax

bool setGangMoney ( string Gang, integer Money )

Required Arguments

  • Gang: ID of the gang you wish to set money of
  • Money: Amount of money that you wish to change the gang money to

Returns

  • Success: Boolean that is true if the gang money is successfully set or false otherwise