TK Scripts
  • Welcome
  • Common questions
  • Common problems
  • esx_tk_mechanicjob
    • Common questions & problems
  • tk_bosstablet
    • Common questions & problems
  • tk_jail
    • Common questions & problems
    • Exports
      • Client
      • Server
  • tk_laptop
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_mdt
    • Fivemanage setup (for images)
    • Common questions & problems
    • Config
    • Exports
      • Client
      • Server
  • tk_dispatch
    • Setup
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_housing
    • Setup
    • Common Problems
    • Config
    • Exports
      • Client
      • Server
  • tk_drugs
    • Common Questions & Problems
    • Config
  • tk_zipline
    • Config
  • tk_houserobbery
    • Config
  • tk_evidence
    • Config
    • Exports
      • Client
      • Server
  • tk_policejob
    • Config
    • Exports
      • Client
      • Server
Powered by GitBook
On this page
  • openUI
  • addCall
  • createPoliceReport
  1. tk_mdt
  2. Exports

Client

openUI

exports.tk_mdt:openUI(page)

Open UI, doesn't check for item

page: 'police' 'ambulance' 'citizen' 'report'

addCall

exports.tk_mdt:addCall(data)

Adds a call to the map view for either police or EMS

  • data: table

    • title: string

    • time?: number how long to wait before removing the call (in milliseconds), default 5 minutes

    • callsign?: string

    • gender?: boolean should player's gender be in included the call info

    • vehicle?: boolean should player's vehicle be in included the call info

    • weapon?: boolean should player's weapon be in included the call info

    • type: 'police' 'ambulance'

createPoliceReport

exports.tk_mdt:createPoliceReport(data)

Creates a police report

  • data: table

    • title: string

    • content: string

    • hideName?: boolean

    • hidePhoneNumber?: boolean

PreviousExportsNextServer

Last updated 7 months ago