Skip to main content

CreditSetup

Description​

Sets the color, transparency, scale, and justification of text printed by CreditPrintText. This function should be called before printing credit text.

function CreditSetup(red, green, blue, alpha, scale, justify) --[[ ... ]] end

Parameters​

  • red: integer - Red color value [0–255].
  • green: integer - Green color value [0–255].
  • blue: integer - Blue color value [0–255].
  • alpha: integer - Transparency (opacity) [0–255], where 255 is fully visible.
  • scale: number - Text scale, with 1.0 as a standard size.
  • justify: integer - Text justification: 0 = left, 1 = right, 2 = centered.

Return Values​

None.

Example​

None.