API:CoolSuit SetItemColor

__NOTOC__
Changes the colors of wardrobe items, the wardrobe window must be open in order to see the changes.
Note that the changes must be confirmed in the wardrobe window to apply on the player.
== Parameters ==
=== Arguments ===
;item slot ID
:0 - head
:1 - hands
:2 - feet
:3 - chest
:4 - legs
:5 - cape
:6 - belt
:7 - shoulders
;main / offset color
:1 - main color
:2 - offset color
;alpha color (0-1)
;red color (0-1)
;green color (0-1)
;blue color (0-1)
=== Returns ===
:nil
== Example ==
CoolSuit_SetItemColor(4, 2, 1, 0.2, 0, 1)
In this example, we set the offset color (2) of leggings (4) on blue (red : 51, green : 0, blue : 255).
Category:Functions