Skip to content

lobbymenu:SetTextBoxToColumn

CritteRo edited this page Jul 20, 2021 · 2 revisions

lobbymenu:SetTextBoxToColumn

Type: Event Trigger

Usage: TriggerEvent('lobbymenu:SetTextBoxToColumn', _id, _column, _warningTitle, _warningText, _warningFooter)

Params:

  • _id :: Existing menu ID that you want to modify.
  • _column :: Column ID. 0 = disable text box / 1 = player list column / 2 = details column / 3 = both player list and details column. Integer.
  • _warningTitle :: Text box title. String.
  • _warningText :: Text box body text. String.
  • _warningFooter :: Text box footer text. String.

Notes:

  • Text boxes will render in place of an existing column. So, running it over player list will disable the player list column.
  • Only 1 text box can be active at one time. If you need to change both column, use column ID 3.
  • If you use column ID 3, the details header column will double in size.

Clone this wiki locally