#Policejob Bell ringing also for Kartik MDT
1 messages · Page 1 of 1 (latest)
server editable functions 🫡

elseif GetResourceState('kartik-mdt') == 'started' then
local playerPed = GetPlayerPed(_source)
local coords = GetEntityCoords(playerPed)
exports['kartik-mdt']:CustomAlert({
title = locale('bell_alert'),
code = locale('bell'),
description = locale('bell_alert'), -- of een specifieke beschrijving
type = "Call",
sound = "bell",
coords = vector3(coords.x, coords.y, coords.z),
person = playerData.name and {
name = playerData.name,
phone = playerData.phone or "Onbekend",
citizenid = playerData.citizenid or "Onbekend"
} or nil,
blip = {
radius = 50.0,
sprite = 409,
color = 1,
scale = 0.8,
length = 10
},
jobs = bellData.jobs
}) end
end)```
I aded it but i think i forgot something