A UI Script to show progression of the jobs/missions! Join up our Discord!
ShowUI(title, content)
- Shows the Mission Followup UI. Ex:
(Context: Player is doing a chopshop mission and is in queue.)
exports['zf-missionfollowups']:ShowUI('Waiting for job...', false)
EditUI(title, content)
- Changes the desired values from the UI. Ex:
(Context: Player just received the Chopshop Mission)
exports['zf-missionfollowups']:EditUI('Chopping Missing', 'Go to the GPS Location marked on your Map.')
(Context: Player have arrived to the chopping location and we only want to change the content and not the title "Chopping Mission".)
exports['zf-missionfollowups']:EditUI(false, 'Now, Chop the parts!')
HideUI()
- Simply hides the UI and clear the UI informations. Ex:
exports['zf-missionfollowups']:HideUI()
GetCurrentUI()
- Returns the current a table with the currents values for
title
andcontent
. Ex:
local currentUI = exports['zf-missionfollowups']:GetCurrentUI()
print(currentUI.title)
print(currentUI.content)
IsUIVisible()
- Returns true or false depending on if a Mission Followup is shown on screen
- Ex:
local UIShown = exports['zf-missionfollowups']:IsUIVisible()
print(UIShown)