Resource:Gang Manager/setGangColor

From Multi Theft Auto: Wiki
Revision as of 23:28, 23 June 2014 by ADCX (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets color of the gang.

Syntax

bool 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

  • Success: Boolean that is true if gang's color was successfully changed