-
Notifications
You must be signed in to change notification settings - Fork 1
critMenu.CreateTosMenu
CritteRo edited this page Jul 3, 2021
·
1 revision
TriggerEvent('critMenu.CreateTosMenu', _menuID, _menuTitle, _menuText, _acceptButton, _denyButton)
-
_menuID:: The unique ID of the menu. -
_menuTitle:: The menu Title. -
_menuText:: The entire text body. Can be formatted using line breaks like\n, or colors:~g~, ~r~, ~b~etc. -
_acceptButton:: Text displayed as the Accept button. -
_denyButton:: Text displayed as the Deny button.
-
critMenu.Check.TosAcceptedevent will trigger when the player accepts the TOS.critMenu.Check.TosDeniedis used for TOS denial. - I recommend creating the TOS body using multiple variables, and chaining them like this:
_menuText = tosVar1.."\n\n"..tosVar2.."\n\n"..tosVar3(Lua example)
