Skip to main content

UpdateCurrentMission

TriggerEvent Syntax
TriggerEvent("viority_hud:client:UpdateCurrentMission", securitytoken, id, visibility, ishighlighted, content)

PARAMETER

  1. SecurityToken (STRING) -> EventWhitelist in ViorityCore
  2. ID (STRING) -> Unique ID to identifier the mission
  3. Visibility (BOOL) -> Show or hide? true or false
  4. IsHighlighted (BOOL) -> Should the Mission be highlighted? true or false
  5. Content (STRING) -> The small headline e.g. "Drive to the meeting point"
warning

This Event is only available on client side!

Example TriggerEvent
TriggerEvent("viority_hud:client:UpdateCurrentMission", "SECURITYTOKEN", "drive_meeting_point", true, true, "Drive to the meeting point")