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

Last updated