Resource:Gang Manager/getGangColor: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Server function}} Gets color of the gang. ==Syntax== <syntaxhighlight lang="lua"> getGangColor ( string Gang ) </syntaxhighlight> ===Required Arguments=== *'''Gang:''' ID of the gang that you want ...") |
No edit summary |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
getGangColor ( string Gang ) | int, int, int getGangColor ( string Gang ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 11: | Line 11: | ||
===Returns=== | ===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 |
Revision as of 23:14, 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