Police Dispatch

The city police officers will have available a small MDT application with alerts that is quite simple but beautiful and functional, with it they will be able to receive different dispatches.

Only follow this step if you have general programming knowledge or a trusted programmer to help you during the integration process.

Smartphone includes a police app where we can obtain dispatch and locations, here we will give a brief summary of how to execute such a function in other assets. Remember that this must be executed through server-side only, since there is no export on the client-side side.


Police Dispatch Integration

This system will be integrated on the server side and will have to be adapted to the consumer's taste.

local alertData = {
        title = "Store Robbery",
        coords = {x = GetEntityCoords(GetPlayerPed(1)).x, y = GetEntityCoords(GetPlayerPed(1)).y, z = GetEntityCoords(GetPlayerPed(1)).z},
        description = "A robbery started at the store!"
}
TriggerClientEvent("qs-smartphone:client:addPoliceAlert", -1, alertData)

Last updated