Skip to content

cS.Saving

CritteRo edited this page Jun 20, 2021 · 1 revision

cS.Saving

Usage:

TriggerEvent('cS.Saving', _text, _type, _waitTime, _playSound)

Params:

  • _text :: Text to display on the UI.
  • _type :: 1 = Scaleform. 2 or others = non-scaleform.
  • _waitTime :: Time that the UI will be shown. Measured in seconds.
  • _playSound :: Boolean. Play a sound when event is triggered.

Examples:

TriggerEvent('cS.Saving', "Saving character. Please don't log off.", 1, 7, true) TriggerEvent('cS.Saving', "Waiting for other players...", 2, 7, false)