Try this I just scripted it reply if it doesn’t work!
– Police
local policeduty = false
RegisterNetEvent(“ARPM:policeduty”)
AddEventHandler(“ARPM:policeduty”, function()
local str = nil
policeduty = not policeduty
if policeduty or emsduty then
str = " on duty as a COP"
local models = GetHashKey(“s_m_y_cop_01”)
RequestModel(models)
while not HasModelLoaded(models) do
RequestModel(models)
Citizen.Wait(0)
end
inServiceCops = true
peds = GetPlayerPed(-1)
ids = GetPlayerServerId(PlayerId())
print(ids…" -your server id")
TriggerServerEvent(“eblips:add”, {name = “POLICE”, src = ids, color = 3}) – can be used with blips [Release] EmergencyBlips
print(inServiceCops)
local playerPed = GetPlayerPed(-1)
else
str = " off duty"
inServiceCops = false
print(ids…" -your server id2")
TriggerServerEvent(“eblips:remove”, ids)
end
exports[‘mythic_notify’]:DoHudText(‘inform’, “you are now”…str…".")
end)