Server
addCall
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 minutescallsign?:
string
location?:
string
coords:
vec2
gender?:
string
vehicle?:
table
plate:
string
model:
string
color:
string
weapon?:
string
type:
'police'
'ambulance'
registerWeapon
Adds a new weapon to MDT
data:
table
creator:
string
name of creatorname:
string
name of weaponowners?:
array
owner identifiersserial?:
string
notes?:
string
registerVehicle
Adds a new vehicle to MDT, place in your vehicleshop resource to register newly purchased vehicles in MDT
data:
table
playerId:
number
id of the vehicle ownermodel:
string
number
plate:
string
setCallsign
Sets the callsign of an employee in MDT
identifier: string
callsign: string
page:
'police'
'ambulance'
createPoliceReport
Creates a police report
data:
table
playerId:
int
title:
string
content:
string
hideName?:
boolean
hidePhoneNumber?:
boolean
Last updated