📃
Docs
  • 👋Welcome
  • 🌉Bridge
    • 💾Installation
    • 🌐Compatibility
    • 👨Client exports
      • ⏩Framework
        • getName
        • getJob
        • TriggerServerCallback
        • getSex
      • 🎒Inventory
        • getItemCount
      • 👁️Target
    • 🖥️Server exports
      • 🗃️Database
        • getUserData
        • getVehicleData
      • 🎒Inventory
        • openInventory
        • addItem
        • removeItem
        • canCarryItem
        • getItemCount
        • registerStash
        • setDurability
      • ⏩Framework
        • getPlayerFromId
        • getPlayerFromIdentifier
        • getIdentifier
        • RegisterServerCallback
        • getSource
        • getName
        • getJob
        • getAllPlayers
        • setJob
        • doesJobExist
        • getCoords
        • getJobs
  • 🔫Organization Panel
    • 📝Configuration
    • 💾Installation
    • 🗃️Framework integration
      • 💼ESX
        • 🚪ox_doorlock usage
      • 💼QBCore
        • 🚪ox_doorlock usage
      • 💼Other framework
    • 💻Server
      • Server exports
      • Server events
    • 👨Client
      • Client exports
  • ♣️Bossmenu
    • 📝Configuration
    • 💾Installation
    • 📖Framework integration
      • 🖼️ESX
      • 🖼️QBCore & QBOX
      • 🖼️Other Framework
    • 🖥️Server
      • 🔁Events
      • 🔃Exports
    • 👨Client
      • 🔁Events
      • 🔃Exports
  • 🕺Adjust Animation
    • 🗒️Configuration
    • 💾Installation
    • 📚Other scripts integration
      • 💃scully_emotemenu
      • 💃rpemotes
      • 💃other
  • 👮Police MDT
    • 🚀Install & Setup Guide
    • 📝Configuration
    • 📖Framework integration
      • 🖼️ESX
      • 🖼️QBOX/QB-Core
      • 🖼️Other Framework
    • 🚨wk_wars_2x Integration
    • 📚Exports
      • 🔃Server
      • 👨Client
  • 👨‍💼DOJ MDT
    • 🚀Install & Setup Guide
    • 📝Configuration
    • 📚Exports
      • 👨Client
  • 🩺EMS MDT
    • 🚀Install & Setup Guide
    • 📝Configuration
    • 📚Exports
      • 🔃Server
      • 👨Client
Powered by GitBook
On this page

Was this helpful?

  1. Police MDT
  2. Exports

Client

openMDT

exports['pp-mdt']:openMDT(path?: string)

--[[
    path is optional argument that will automatically redirect user to provided page after opening MDT.
    Available paths:
    - "/" - homePage,
    - "/announcements" - announcements page,
    - "/announcement/:id" - specific announcement page,
    - "/patrols" - patrols page,
    - "/citizens" - citizens page,
    - "/citizen/:id" - specific citizen page,
    - "/vehicles" - vehicles page,
    - "/vehicle/:plate" - specific vehicle page,
    - "/dispatch" - dispatch page,
    - "/weapons" - weapons page,
    - "/weapon/:serialnumber" - specific weapon page,
    - "/evidences" - evidences page,
    - "/evidence/:id" - specific evidence page,
    - "/cases" - cases page,
    - "/case/:id" - specific case page,
    - "/cameras" - cameras page,
    - "/notes" - notes page,
    - "/note/:id" - specific note page,
    - "/settings" - settings page.
]]
PreviousServerNextDOJ MDT

Last updated 7 months ago

Was this helpful?

👮
📚
👨