New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ambulance distress signal not sending GPS coordinates ! #88
Comments
Try this, if don't work, i check tomorrow. |
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 |
Thanks it somehow works again now. Very nice. |
function SendDistressSignal()
end i have done both but still it doesnt work can you help somehow? |
bro not working!!!!! |
function SendDistressSignal()
|
And is any way to don´t use a esx_phone or gcphone so you can do it standalone? |
Hi,
Everything related to the new GcPhone works perfectly.
The only thing that doesn't seem to be working right now is the Distress signal call for the ambulance service when a player is down.
Sending the distress signal will send a text message to EMS, yes, but it won't include the GPS coordinates as it should / used to do.
Here is the piece of code related to this ... if you can help anyhow..
Thanks in advance
The text was updated successfully, but these errors were encountered: