• Please report every thread you think might be harmful or does not meet expectations or the link is offline, you will be refunded the credits you paid and the Thread Starter recieves a message to update his content, if its malicious we remove it and warn and eventualy the TS if it reoccurs.

ESX [ESX] GKPhone (NOIPLOCK) CHEAPER! (3 Viewers)

MahmoudiTech

Well-known member
Joined
Dec 23, 2021
Messages
374
Reaction score
30
Points
28
Credits
1,822
I need a code to send an alert on the mobile with any theft, send a message to the police GKS PHONE
 
Joined
Feb 17, 2023
Messages
17
Reaction score
0
Points
3
Credits
5
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
s
 
  • Post hidden due to user being banned.

Users who are viewing this thread

Top