- Katılım
- 5 yıl 24 gün
- Mesajlar
- 45
- Discord
- Buğraa#9731
function SendDistressSignal()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
ESX.ShowNotification(_U('distress_sent'))
TriggerServerEvent('esx_addons_xenknight:send', 'ambulance', _U('distress_message'), true, {
x = coords.x,
y = coords.y,
z = coords.z
})
end
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
ESX.ShowNotification(_U('distress_sent'))
TriggerServerEvent('esx_addons_xenknight:send', 'ambulance', _U('distress_message'), true, {
x = coords.x,
y = coords.y,
z = coords.z
})
end
kodlarıda ekledim arkadaşlar