Fixed esx_policejob/issues/144

This commit is contained in:
ElPumpo
2018-08-23 19:57:00 +02:00
parent d84d4e3131
commit 3a87aef280
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -150,8 +150,7 @@ end)
RegisterNetEvent('esx_phone:onMessage')
AddEventHandler('esx_phone:onMessage', function(phoneNumber, message, position, anon, job, dispatchRequestId, dispatchNumber)
if dispatchNumber then
if dispatchNumber and phoneNumber == PhoneData.phoneNumber then
TriggerEvent('esx_phone:cancelMessage', dispatchNumber)
if WasEventCanceled() then