Resource:Gang Manager/getGangColor: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
int, int, int getGangColor ( string Gang )
int int int getGangColor ( string Gang )
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 23:15, 23 June 2014

Gets color of the gang.

Syntax

int int int getGangColor ( string Gang )

Required Arguments

  • Gang: ID of the gang that you want to get colors of

Returns

  • R: Amount of red from 0 to 255
  • G: Amount of green from 0 to 255
  • B: Amount of blue from 0 to 255