-
Notifications
You must be signed in to change notification settings - Fork 16
cS.HeistFinale
`TriggerEvent("cS.HeistFinale", _initialText, _table, _money, _xp, 20, true)`
Keep in mind that _initialText
, _table
, _money
and _xp
are ARRAYS. Below you can find the arrays that you need to set up before calling the event:
local _initialText = { --first slide. Consists of 3 text lines.
missionTextLabel = "yBANK HEISTs",
passFailTextLabel = "gPASSED.s",
messageLabel = "I don't even know why we have a third message.",
}
local _table = { --second slide. You can add as many "stats" as you want. They will appear from botton to top, so keep that in mind.
{stat = "value4", value = "TEST"},
{stat = "value3", value = "g$s50000"},
{stat = "value2", value = "b1999s"},
{stat = "value1", value = "TEST"},
}
local _money = { --third slide. Incremental money. It will start from startMoney and increment to finishMoney. top and bottom text appear above/below the money string.
startMoney = 0,
finishMoney = 40000,
topText = "Dolla' Bill by",
bottomText = "BOTTOM TEXT",
rightHandStat = "Legit Cash",
rightHandStatIcon = 2, --0 or 1 = checked, 2 = X, 3 = no icon
}
local _xp = { --fourth and final slide. XP Bar slide. Will start with currentRank and a xp bar filled with (xpBeforeGain - minLevelXP) and will add xpGained. If you rank up, it goes to "Level Up" slide.
xpGained = 1000,
xpBeforeGain = 1400,
minLevelXP = 600,
maxLevelXP = 2360,
currentRank = 68,
nextRank = 69,
rankTextSmall = "LEVEL UP.",
rankTextBig = "bNice.s",
}
- For some reason, it will not render a background color.
Wiki under construction.