Events
The following events can be triggered from your own resources to interact with the interface.
From the client:
TriggerEvent('eventName', ...)From the server:
TriggerClientEvent('eventName', source, ...)Optional arguments are marked with ?.
Notifications
17mov_Interface:Notification:Client:Show
Displays a notification.
Arguments
dataNotificationData | string
TriggerEvent('17mov_Interface:Notification:Client:Show', {
type = 'success',
title = 'Payment received',
description = 'You received $500'
})Text UI
17mov_Interface:TextUI:Client:Show
Displays Text UI.
Arguments
textstringoptions?TextUIOptions
17mov_Interface:TextUI:Client:Hide
Hides the active Text UI.
Progress Bar
17mov_Interface:Progress:Client:ProgressBar
Starts a progress bar.
Arguments
dataProgressData
17mov_Interface:Progress:Client:ProgressCircle
Starts a progress circle.
Arguments
dataProgressData
17mov_Interface:Progress:Client:StartProgress
Starts a non-blocking progress bar.
Arguments
dataProgressData
17mov_Interface:Progress:Client:Cancel
Cancels the active progress bar.
17mov_Interface:Progress:Client:Stop
Stops the active progress bar and marks it as completed.
Input Dialog
17mov_Interface:InputDialog:Client:Show
Displays an input dialog.
Arguments
headerstring | InputDialogHeaderrowsInputRow[]options?InputDialogOptions
17mov_Interface:InputDialog:Client:Hide
Closes the active input dialog.
Alert Dialog
17mov_Interface:AlertDialog:Client:Show
Displays an alert dialog.
Arguments
dataAlertDialogDatatimeout?number
17mov_Interface:AlertDialog:Client:Hide
Closes the active alert dialog.
Arguments
reason?string
Context Menu
17mov_Interface:ContextMenu:Client:Register
Registers one or multiple context menus.
Arguments
contextContextMenu | ContextMenu[]
17mov_Interface:ContextMenu:Client:ShowContext
Opens a registered context menu.
Arguments
idstring
17mov_Interface:ContextMenu:Client:HideContext
Closes the active context menu.
Arguments
onExit?boolean
List Menu
17mov_Interface:Menu:Client:Register
Registers a list menu.
Arguments
dataListMenucb?function
17mov_Interface:Menu:Client:SetOptions
Updates menu options.
Arguments
idstringoptionsListMenuOption[] | ListMenuOptionindex?number
17mov_Interface:Menu:Client:Show
Opens a registered list menu.
Arguments
idstringstartIndex?number
17mov_Interface:Menu:Client:Hide
Closes the active list menu.
Arguments
onExit?boolean
Radial Menu
17mov_Interface:RadialMenu:Client:Register
Registers a radial menu.
Arguments
menuRadialMenu
17mov_Interface:RadialMenu:Client:AddItem
Adds one or multiple radial items.
Arguments
itemsRadialItem | RadialItem[]parentMenuId?string
17mov_Interface:RadialMenu:Client:RemoveItem
Removes a radial item.
Arguments
idstringparentMenuId?string
17mov_Interface:RadialMenu:Client:ClearItems
Removes all root radial items.
17mov_Interface:RadialMenu:Client:Disable
Enables or disables the radial menu.
Arguments
stateboolean
17mov_Interface:RadialMenu:Client:Open
Opens the radial menu.
Arguments
id?string
17mov_Interface:RadialMenu:Client:Close
Closes the radial menu.
17mov_Interface:RadialMenu:Client:Toggle
Toggles the radial menu.
Arguments
id?string
NPC Dialog
17mov_Interface:NpcDialog:Client:Register
Registers one or multiple NPC dialogs.
Arguments
dialogDialog | table<string, Dialog>
17mov_Interface:NpcDialog:Client:Show
Starts a dialog.
Arguments
dialogOrIdDialog | stringped?numbercustomSettings?table
17mov_Interface:NpcDialog:Client:Hide
Stops the active dialog.
Arguments
silent?boolean
17mov_Interface:NpcDialog:Client:Remove
Removes a registered dialog.
Arguments
idstring
Sounds
17mov_Interface:Sound:Client:Play
Plays a registered sound.
Arguments
namestringvolume?numberexclusive?boolean
17mov_Interface:Sound:Client:Stop
Stops a sound.
Arguments
name?string
HUD
17mov_Interface:Hud:Client:ToggleDisplay
Shows or hides the HUD.
Arguments
stateboolean
17mov_Interface:Editor:Client:Open
Opens the player's HUD editor.
17mov_Interface:Hud:Client:SetValue
Sets a HUD value.
Arguments
keystringvalueany
Info Panel
17mov_Interface:Info:Client:SetItem
Updates an info panel item.
Arguments
idstringvalueanysub?anybadge?any
17mov_Interface:Info:Client:Refresh
Refreshes all function-driven info panel items.
Radar / Minimap
17mov_Interface:Radar:Client:Hide
Temporarily hides or shows the minimap.
Arguments
stateboolean
17mov_Interface:Radar:Client:SetLoop
Enables or disables minimap management.
Arguments
stateboolean
Seatbelt
17mov_Interface:Seatbelt:Client:UpdateState
Updates the seatbelt state.
Arguments
stateboolean
Stress
17mov_Interface:Stress:Client:AddAmount
Adds stress.
Arguments
amountnumber
17mov_Interface:Stress:Client:RemoveAmount
Removes stress.
Arguments
amountnumber
17mov_Interface:Stress:Client:SetEnabled
Enables or disables the stress system.
Arguments
stateboolean
17mov_Interface:Stress:Client:SetEffects
Enables or disables stress effects.
Arguments
stateboolean
17mov_Interface:Stress:Client:SetSource
Enables or disables a registered stress source.
Arguments
idstringstateboolean
17mov_Interface:Stress:Client:TriggerSource
Triggers a manually controlled stress source.
Arguments
idstring
Status
17mov_Interface:Bridge:Client:UpdateStatus
Updates one or multiple status values.
Arguments
statusStatusData
StatusData
hunger?numberthirst?numberstress?number
Last updated