Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.
new RGBA(number r, number g, number b, number a)
var rgba = new RGBA(255, 0, 0, 255);
Name | Type | Description |
---|---|---|
r | number | read only red channel value (0-255) |
g | number | read only green channel value (0-255) |
b | number | read only blue channel value (0-255) |
a | number | read only alpha channel value (0-255) |
This class does not have any functions.
By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.