Server
addCall
exports.tk_mdt:addCall(data)Adds a call to the map view for either police or EMS.
data:
tabletitle:
stringtime?:
numberhow long to wait before removing the call (in milliseconds), default 5 minutescallsign?:
stringlocation?:
stringcoords:
vec2gender?:
stringvehicle?:
tableplate:
stringmodel:
stringcolor:
string
weapon?:
stringtype:
'police''ambulance'
setCallsign
Sets the callsign of an employee in MDT.
identifier: string
callsign: string
page:
'police''ambulance'
getCallsign
Retrieves the callsign for a player in the MDT.
identifier:
stringpage:
string
getPlayerLicenses
Retrieves player licenses from the MDT.
identifier:
string
getPlayerWarrants
Retrieves player warrants from the MDT.
identifier:
stringpage?:
string
doesPlayerHaveWarrant
Checks if a player has an active warrant.
identifier:
stringpage?:
string
setProfileImage
Sets the profile image for a player in the MDT.
identifier:
stringimage:
stringpage:
string
createPoliceReport
Creates a police report.
data:
tableplayerId:
inttitle:
stringcontent:
stringhideName?:
booleanhidePhoneNumber?:
boolean
registerProperty
Registers a new property in the MDT.
data:
tableid:
numberowner:
stringcoords:
vector3name:
stringnotes?:
stringimage?:
stringpage:
string
registerEvidence
Registers evidence in the MDT.
data:
tableplayerId:
numbername:
stringimage?:
stringnotes?:
stringpage:
string
removeEvidence
Removes evidence from the MDT.
id:
number
registerWeapon
Adds a new weapon to MDT.
data:
tablecreator:
stringname of creatorname:
stringname of weaponowners?:
arrayowner identifiersserial?:
stringnotes?:
string
createIncident
Creates a new incident in the MDT.
incidentData:
tableplayerId:
numberpage:
string
updateProfile
Updates a player profile in the MDT.
identifier:
stringpage:
stringdata:
tableidentifier:
stringname:
stringdob:
stringphoneNumber:
stringgender:
stringlicensePoints?:
numberimage?:
stringnotes?:
stringfingerprint?:
stringbloodType?:
stringsideBarData?:
tablewarrants?:
table[]incidentTitle:
stringincidentId:
numberexpires?:
number
tags?:
string[]vehicles?:
table[]name:
stringplate:
string
jobs?:
string[]properties?:
table[]name:
stringid:
number
charges?:
string[]licenses?:
string[]weapons?:
table[]name:
stringid:
string
linkedReports?:
table[]id:
numbertitle:
string
linkedIncidents?:
table[]id:
numbertitle:
string
linkedProfiles?:
table[]name:
stringreason:
stringid:
number
photos?:
string[]
updateVehicle
Updates a vehicle in the MDT.
plate:
stringdata:
tablename:
stringcolor:
stringplate:
stringowner:
stringgarage?:
stringimage?:
stringnotes?:
stringsideBarData?:
tablebolos?:
table[]id:
numbertitle:
stringexpires?:
numberisReport?:
boolean
tags?:
string[]linkedReports?:
table[]id:
numbertitle:
string
linkedIncidents?:
table[]id:
numbertitle:
string
page:
string
registerVehicle
Adds a new vehicle to MDT, place in your vehicleshop resource to register newly purchased vehicles in MDT.
data:
tableplayerId:
numberid of the vehicle ownermodel:
stringnumberplate:
string
doesVehicleHaveBOLO
Checks if a vehicle has an active BOLO.
plate:
stringpage?:
string
getVehicleBOLOs
Retrieves vehicle BOLOs from the MDT.
plate:
stringpage?:
string
getCharges
Retrieves available charges from the MDT.
page:
string
Last updated