Skip to main content

Ui::setHudComponentPosition

Use this function to set subtitles position.

Syntax​

mp.game.ui.setHudComponentPosition(componentIndex, x, y);

Required Arguments​

  • componentIndex: int (Full list: HUD Components list)
  • x: float
  • y: float

Return value​

  • Undefined

Example​

// todo