Events (Client Side)
Client-sided events
ShowJobStage
Shows the job stage container with the given data
-- With Status
local data = {
job = "Ammunation Heist",
title = "Rob the container <br/> Code: 0W0W",
hasStatus = true,
statusMessage = "NPC's",
statusValue = "1/10"
}
-- Without Status
local data = {
job = "Ammunation Heist",
title = "Rob the container <br/> Code: 0W0W",
hasStatus = false
}
TriggerEvent("bd-jobstatus:client:show-job-stage", data)
data (table):
The job, title & others.
UpdateJobStage
Updates the job stage container with the given data
-- With Status
local data = {
job = "HouseRobbery Heist",
title = "Rob the place",
hasStatus = true,
statusMessage = "Robbed",
statusValue = "1/10"
}
-- Without Status
local data = {
job = "HouseRobbery Heist",
title = "Rob the place",
hasStatus = false
}
TriggerEvent("bd-jobstatus:client:update-job-stage", data)
data (table):
The job, title & others.
HideJobStage
Hides the job stage container
TriggerEvent("bd-jobstatus:client:hide-job-stage")