📅  最后修改于: 2022-03-11 14:56:00.880000             🧑  作者: Mango
function SendDistressSignal()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
ESX.ShowNotification(_U('distress_sent'))
TriggerServerEvent('esx_addons_gcphone:startCall', 'ambulance', _U('distress_message'), {
['x'] = coords.x,
['y'] = coords.y
})
end