Resource:Gang Manager/setGangColor

From Multi Theft Auto: Wiki
Revision as of 23:04, 23 June 2014 by ADCX (talk | contribs) (Created page with "{{Server function}} Sets color of the gang. ==Syntax== <syntaxhighlight lang="lua"> setGangColor ( string Gang, integer R, integer G, integer B ) </syntaxhighlight> ===Required Arguments=== *'''Gang:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets color of the gang.

Syntax

setGangColor ( string Gang, integer R, integer G, integer B )

Required Arguments

  • Gang: ID of the gang you want to change the color of
  • R: Amount of red from 0 to 255
  • G: Amount of green from 0 to 255
  • B: Amount of blue from 0 to 255

Returns

Returns true if gang color was successfully set or false otherwise.