Skip to main content

Ui::setWarningMessage2

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

You can only use text entries. No custom text.

Syntax​

mp.game.ui.setWarningMessage2(entryHeader, entryLine1, instructionalKey, entryLine2, p4, p5, p6, p7, background);

Required Arguments​

  • entryHeader: String
  • entryLine1: String
  • instructionalKey: int
  • entryLine2: String
  • p4: Boolean
  • p5: unknown (to be checked)
  • p6: unknown (to be checked)
  • p7: unknown (to be checked)
  • background: Boolean

Return value​

  • Undefined

Example​

// todo