Ui::drawSubtitleTimed

From RAGE Multiplayer Wiki
Revision as of 20:28, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Draws the subtitle at middle center of the screen.

int duration = time in milliseconds to show text on screen before disappearing

drawImmediately = If true, the text will be drawn immediately, if false, the text will be drawn after the previous subtitle has finished

Used to be known as _DRAW_SUBTITLE_TIMED

Syntax

ui.drawSubtitleTimed(time, p1);

Required Arguments

  • time: int
  • p1: Boolean

Return value

  • Undefined

Example

todo

See also

Template:Ui function c