if we die , we have to press G to send
local playerPed = PlayerPedId()
PedPosition = GetEntityCoords(playerPed)
local PlayerCoords = { x = PedPosition.x, y = PedPosition.y, z = PedPosition.z }
ESX.ShowNotification(_U('distress_sent'))
TriggerServerEvent('gksphone:jbmessage', 'ambulance', _U('distress_message'), PlayerCoords, {
PlayerCoords = { x = PedPosition.x, y = PedPosition.y, z = PedPosition.z },
})
end <---- Not work can u explain me on discord ? can i add your discord ?
function SendDistressSignal()what do you mean ?
local playerPed = PlayerPedId()
PedPosition = GetEntityCoords(playerPed)
local PlayerCoords = { x = PedPosition.x, y = PedPosition.y, z = PedPosition.z }
ESX.ShowNotification(_U('distress_sent'))
TriggerServerEvent('gksphone:jbmessage', 'ambulance', _U('distress_message'), PlayerCoords, {
PlayerCoords = { x = PedPosition.x, y = PedPosition.y, z = PedPosition.z },
})
end <---- Not work can u explain me on discord ? can i add your discord ?