Перейти к содержанию

Ui::drawSubtitleTimed

Материал из RAGE MP Wiki Archive
Версия от 07:18, 24 февраля 2019; imported>Kar
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">mp.game.ui.drawSubtitleTimed(time, drawImmediately);</syntaxhighlight>

Required Arguments

  • time: int
  • drawImmediately: Boolean

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also