Resource:Gang Manager/setGangColor: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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:...")
(No difference)

Revision as of 23:04, 23 June 2014

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.