Ui::drawSubtitleTimed: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
Line 14: Line 14:
{{Ui_s_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 14:57, 20 May 2017

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

mp.game.ui.drawSubtitleTimed(time, p1);

Required Arguments

  • time: int
  • p1: Boolean

Return value

  • Undefined

Example

// todo

See also