Exports
Export List
export
parameters
return
description
openDispatch
none
none
Open dispatch menu
closeDispatch
none
none
Close dispatch menu
openAlert
none
none
Open alert widget
closeAlert
none
none
Close alert widget
openBodycam
none
none
Open bodycam UI
closeBodycam
none
none
Close bodycam UI
toggleBodycam
none
none
Toggle bodycam UI
CustomDispatch
alertData
none
Export to create custom dispatches, requires alertData
. Head into tutorial to create custom dispatches
How to use exports?
Exports are used for different purposes in different places. For example, if I want to turn on the alert menu and do it with a command, I need to use the following code:
-- Open GPS Command
RegisterCommand('openalert', function()
exports['dusa_dispatch']:openAlert()
end)
Last updated