Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Getting colour from a spraycan ID?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting colour from a spraycan ID? (Read 594 times)
Subpixel
November 01, 2013, 10:14:26 PM
For example, if the colour of a brick is set to 4 (brown or something), how can I translate it into RGB?
Ad Bot
Advertisement
Greek2me
November 01, 2013, 10:16:44 PM
getColorIDTable(4);
You can then call
getColorI(<color>);
to convert it to an integer-based RGB value.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Getting colour from a spraycan ID?