distritic / mdt

A police Mobile Data Terminal system designed for use on the FiveM platform. Made for phynix.gg.
https://forum.cfx.re/t/1701472
30 stars 86 forks source link

how to do Calls work? #4

Closed fucekar closed 3 years ago

distritic commented 3 years ago

This is clearly mentioned on the original topic (FiveM):

There’s a server-side event you might want to know about so that you can trigger this when a call comes through and want it to show on the MDT.

-- Create a new 911 call in the MDT under the 'Calls' tab.
TriggerEvent("mdt:newCall", details --[[string]], caller --[[int]], coords --[[vector3]])