Skip to content
FYP edited this page Aug 9, 2017 · 2 revisions

Class textdraw

Static Members

textdraw.new

Textdraw textdraw = textdraw.new(string text, float visible, float y)

Creates new textdraw.

Members

textdraw.visible

float visible = textdraw.visible

textdraw.y

float y = textdraw.y

textdraw.width

float width = textdraw.width

textdraw.height

float height = textdraw.height

textdraw.wrap

float wrap = textdraw.wrap

textdraw.style

uint style = textdraw.style

textdraw.proportional

bool proportional = textdraw.proportional

textdraw.justify

bool justify = textdraw.justify

textdraw.background

bool background = textdraw.background

textdraw.outline

uint outline = textdraw.outline

textdraw.shadow

uint shadow = textdraw.shadow

textdraw.alignment

uint alignment = textdraw.alignment

textdraw.visible

bool visible = textdraw.visible

textdraw:set_text_color

textdraw:set_text_color(int r, int g, int b, int a)

textdraw:set_background_color

textdraw:set_background_color(int r, int g, int b, int a)

textdraw:set_shadow_color

textdraw:set_shadow_color(int r, int g, int b, int a)

textdraw:get_text_color

int r, int g, int b, int a = textdraw:get_text_color()

textdraw:get_background_color

int r, int g, int b, int a = textdraw:get_background_color()

textdraw:get_shadow_color

int r, int g, int b, int a = textdraw:get_shadow_color()

Enum

font_align

  • CENTER
  • LEFT
  • RIGHT

font_style

  • GOTHIC
  • SUBTITLES
  • MENU
  • PRICEDOWN