I need help with coloring things.

  • DemoManiac
    31st Jul 2014 Member 0 Permalink

    I'm trying to make a script for TPT with my GMOD Lua knowledge but I'm used to RGB vectors like, "vector 255,100,100" (pink). What knid of color thing is being used for color. Example: 0x1E1A2E (from iodine script)

  • fireball5000
    31st Jul 2014 Member 0 Permalink

    I believe that's Hexadecimal.

  • jacob1
    31st Jul 2014 Developer 0 Permalink
    0xAARRGGBB

    Although you don't really need the AA (alpha), that value there doesn't use it. To get a hexadecimal color, you can either use some online tool, or use TPT (it will tell you the hexadecimal color in the deco editor's color selector)
  • DemoManiac
    31st Jul 2014 Member 0 Permalink

    Thanks