UpdateCurrentMission
TriggerEvent Syntax
TriggerEvent("viority_hud:client:UpdateCurrentMission", securitytoken, id, visibility, ishighlighted, content)
PARAMETER
- SecurityToken (STRING) -> EventWhitelist in ViorityCore
- ID (STRING) -> Unique ID to identifier the mission
- Visibility (BOOL) -> Show or hide? true or false
- IsHighlighted (BOOL) -> Should the Mission be highlighted? true or false
- 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")