FIX Ambulance job Send Distress Signal ( SendDistressSignal ) (client.lua) (client\main.lua):
client\main.lua (Replace "esx_addons_gcphone" function SendDistressSignal with this)
(remove "•" from script)
-- Stress signal GKS Phone
function SendDistressSignal()
••••local playerPed = PlayerPedId()
••••local coords = GetEntityCoords(playerPed)
••••local myPos = GetEntityCoords(PlayerPedId())
••••local GPS = 'GPS: ' .. myPos.x .. ', ' .. myPos.y
••••ESX.ShowNotification(_U('distress_sent'))
••••ESX.TriggerServerCallback('gksphone:namenumber', function(Races)
••••••local name = Races[2].firstname .. ' ' .. Races[2].lastname
••••••TriggerServerEvent('gksphone:jbmessage', name, Races[1].phone_number, _U('distress_message'), '', GPS, 'ambulance')
••••end)
end